📄 unit1.h
字号:
//----------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//----------------------------------------------------------------------------
#include <SysUtils.hpp>
#include <Windows.hpp>
#include <Messages.hpp>
#include <Classes.hpp>
#include <Graphics.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DBCtrls.hpp>
#include <DB.hpp>
#include <DBGrids.hpp>
#include <Db.hpp>
#include <DBTables.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
//----------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:
TDBNavigator *DBNavigator;
TPanel *Panel1;
TDataSource *DataSource1;
TTable *Table1;
TDBGrid *DBGrid1;
TTable *Table2;
TFloatField *Table1OrderNo;
TFloatField *Table1CustNo;
TDateTimeField *Table1SaleDate;
TDateTimeField *Table1ShipDate;
TIntegerField *Table1EmpNo;
TStringField *Table1ShipToContact;
TStringField *Table1ShipToAddr1;
TStringField *Table1ShipToAddr2;
TStringField *Table1ShipToCity;
TStringField *Table1ShipToState;
TStringField *Table1ShipToZip;
TStringField *Table1ShipToCountry;
TStringField *Table1ShipToPhone;
TStringField *Table1ShipVIA;
TStringField *Table1PO;
TStringField *Table1Terms;
TStringField *Table1PaymentMethod;
TCurrencyField *Table1ItemsTotal;
TFloatField *Table1TaxRate;
TCurrencyField *Table1Freight;
TCurrencyField *Table1AmountPaid;
TIntegerField *Table2EmpNo;
TStringField *Table2LastName;
TStringField *Table2FirstName;
TStringField *Table2PhoneExt;
TDateTimeField *Table2HireDate;
TFloatField *Table2Salary;
TStringField *Table1firstname;
TStringField *Table1lastname;
TStringField *Table1fullname;
void __fastcall FormCreate(TObject *Sender);
void __fastcall Table1CalcFields(TDataSet *DataSet);
private:
// private declarations
public:
// public declarations
__fastcall TForm1(TComponent *Owner);
};
//----------------------------------------------------------------------------
extern TForm1 *Form1;
//----------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -