mainform.h

来自「C++ BUILDER精彩编程实例集锦(源码)3 第五部分 系统编程 第六部」· C头文件 代码 · 共 48 行

H
48
字号
//---------------------------------------------------------------------------

#ifndef MainFormH
#define MainFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DB.hpp>
#include <DBCtrls.hpp>
#include <DBGrids.hpp>
#include <DBTables.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TTable *Table1;
        TDataSource *DataSource1;
        TDBGrid *DBGrid1;
        TDBNavigator *DBNavigator1;
        TTable *Table2;
        TDataSource *DataSource2;
        TFloatField *Table2CustNo;
        TStringField *Table2Company;
        TStringField *Table2Addr1;
        TStringField *Table2Addr2;
        TStringField *Table2City;
        TStringField *Table2State;
        TStringField *Table2Zip;
        TStringField *Table2Country;
        TStringField *Table2Phone;
        TStringField *Table2FAX;
        TFloatField *Table2TaxRate;
        TStringField *Table2Contact;
        TDateTimeField *Table2LastInvoiceDate;
        TStringField *Table2Capital;
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?