📄 main.h
字号:
//---------------------------------------------------------------------------
#ifndef MainH
#define MainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "ABSMain.hpp"
#include <ComCtrls.hpp>
#include <Db.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include <DBCtrls.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <Jpeg.hpp>
#include "CSPIN.h"
#include "CGAUGES.h"
#include <DBTables.hpp>
//---------------------------------------------------------------------------
class TfrmMain : public TForm
{
__published: // IDE-managed Components
TLabel *Label4;
TLabel *Label5;
TLabel *Label8;
TLabel *lImportTable;
TLabel *Label14;
TLabel *Label15;
TLabel *Label9;
TListBox *lbImportAliasTables;
TListBox *lbImportAliases;
TEdit *edImportDestDB;
TButton *btBrowseImportDestinationDB;
TMemo *mImportDetails;
TButton *btStopImport;
TButton *btStart;
TGroupBox *GroupBox1;
TLabel *Label3;
TABSDatabase *AbsDB;
TABSTable *ABSTable;
TTable *Table;
TOpenDialog *odAbsDb;
TCGauge *gTableImport;
TCGauge *gOverallImport;
void __fastcall FormCreate(TObject *Sender);
void __fastcall lbImportAliasesClick(TObject *Sender);
void __fastcall lbImportAliasTablesClick(TObject *Sender);
void __fastcall btBrowseImportDestinationDBClick(TObject *Sender);
void __fastcall btStopImportClick(TObject *Sender);
void __fastcall btStartClick(TObject *Sender);
void __fastcall ABSTableBeforeImport(TObject *Sender);
void __fastcall ABSTableImportProgress(TObject *Sender,
int PercentDone, bool &Continue);
private: // User declarations
bool IsStopped;
public: // User declarations
__fastcall TfrmMain(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmMain *frmMain;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -