git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.SDAC@2 6f543ec7-021b-7e4c-98c9-62eafc7fb9a8
54 lines
1.7 KiB
C++
54 lines
1.7 KiB
C++
//---------------------------------------------------------------------------
|
|
#ifndef MainH
|
|
#define MainH
|
|
//---------------------------------------------------------------------------
|
|
#include <Classes.hpp>
|
|
#include <Controls.hpp>
|
|
#include <StdCtrls.hpp>
|
|
#include <Forms.hpp>
|
|
#include "MemDS.hpp"
|
|
#include <ComCtrls.hpp>
|
|
#include <Db.hpp>
|
|
#include <DBCtrls.hpp>
|
|
#include <DBGrids.hpp>
|
|
#include <ExtCtrls.hpp>
|
|
#include <Grids.hpp>
|
|
#include "DBAccess.hpp"
|
|
#include "MSAccess.hpp"
|
|
#include <DBTables.hpp>
|
|
#include "SdacVcl.hpp"
|
|
#include <DB.hpp>
|
|
//---------------------------------------------------------------------------
|
|
class TfmMain : public TForm
|
|
{
|
|
__published: // IDE-managed Components
|
|
TPanel *ToolBar;
|
|
TButton *btOpen;
|
|
TButton *btClose;
|
|
TButton *btExecute;
|
|
TDBNavigator *DBNavigator;
|
|
TMemo *meSQL;
|
|
TDBGrid *DBGrid;
|
|
TDataSource *DataSource;
|
|
TButton *btDisconnect;
|
|
TSplitter *Splitter1;
|
|
TButton *btConnect;
|
|
TMSQuery *MSQuery;
|
|
TMSConnection *MSConnection;
|
|
TMSConnectDialog *MSConnectDialog;
|
|
void __fastcall btOpenClick(TObject *Sender);
|
|
void __fastcall btCloseClick(TObject *Sender);
|
|
void __fastcall btDisconnectClick(TObject *Sender);
|
|
void __fastcall btExecuteClick(TObject *Sender);
|
|
void __fastcall FormShow(TObject *Sender);
|
|
void __fastcall meSQLExit(TObject *Sender);
|
|
void __fastcall btConnectClick(TObject *Sender);
|
|
private: // User declarations
|
|
public: // User declarations
|
|
__fastcall TfmMain(TComponent* Owner);
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
extern PACKAGE TfmMain *fmMain;
|
|
//---------------------------------------------------------------------------
|
|
#endif
|