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

#ifndef uMainFormH
#define uMainFormH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>
#include <FMX.Edit.hpp>
#include <FMX.StdCtrls.hpp>
#include <FMX.Types.hpp>
#include <Data.Bind.Components.hpp>
#include <Data.Bind.DBScope.hpp>
#include <Data.Bind.EngExt.hpp>
#include <Data.Bind.Grid.hpp>
#include <Fmx.Bind.DBEngExt.hpp>
#include <Fmx.Bind.Editors.hpp>
#include <Fmx.Bind.Grid.hpp>
#include <Fmx.Bind.Navigator.hpp>
#include <FMX.Grid.hpp>
#include <FMX.Layouts.hpp>
#include <System.Bindings.Outputs.hpp>
#include <System.Rtti.hpp>
#include <FireDAC.Phys.hpp>
#include <FireDAC.Phys.IB.hpp>
#include <FireDAC.Phys.IBBase.hpp>
#include <FireDAC.Stan.Intf.hpp>
#include <FireDAC.Comp.UI.hpp>
#include <FireDAC.FMXUI.Wait.hpp>
#include <FireDAC.UI.Intf.hpp>
//---------------------------------------------------------------------------
class TForm7 : public TForm
{
__published:	// IDE-managed Components
	TToolBar *ToolBar1;
	TButton *btnInsertWithQuery;
	TEdit *edtWithQuery;
	TToolBar *ToolBar3;
	TEdit *edtLoops;
	TBindingsList *BindingsList1;
	TGrid *GridBindSourceDB1;
	TBindSourceDB *BindSourceDB1;
	TGrid *GridBindSourceDB12;
	TLinkGridToDataSource *LinkGridToDataSourceBindSourceDB1;
	TBindNavigator *NavigatorBindSourceDB1;
	TFDGUIxWaitCursor *FDGUIxWaitCursor1;
	TButton *btnInsertWithDML;
	TEdit *edtWithDML;
	void __fastcall btnInsertWithQueryClick(TObject *Sender);
	void __fastcall btnInsertWithDMLClick(TObject *Sender);
private:	// User declarations
	long lStart, lEnd;

	void ShowRunTime(TEdit* pEdit, long lTime);

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