//---------------------------------------------------------------------------

#ifndef FlowPanels_cppH
#define FlowPanels_cppH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Contnrs.hpp>
//---------------------------------------------------------------------------
class TForm2 : public TForm
{
__published:	// IDE-managed Components
	TPanel *Panel1;
	TButton *btAddButton;
	TButton *btRemoveButton;
	TButton *btReArrange;
	void __fastcall btAddButtonClick(TObject *Sender);
	void __fastcall btReArrangeClick(TObject *Sender);
	void __fastcall btRemoveButtonClick(TObject *Sender);
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall FormDestroy(TObject *Sender);
private:	// User declarations
	TObjectStack* m_Stack;
	TFlowPanel* m_FlowPane;

	void __fastcall btAButtonClick(TObject *Sender);

public:		// User declarations
	__fastcall TForm2(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm2 *Form2;
//---------------------------------------------------------------------------
#endif
