<<C++Builder 6实用编程100例>>随书光盘
源代码在线查看: unit1.h
//----------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//----------------------------------------------------------------------------
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
//----------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:
TFloatField *Table2OrderNo;
TFloatField *Table2CustNo;
TDateTimeField *Table2SaleDate;
TDateTimeField *Table2ShipDate;
TIntegerField *Table2EmpNo;
TStringField *Table2ShipToContact;
TFloatField *Table1CustNo;
TStringField *Table1Company;
TStringField *Table1City;
TStringField *Table1State;
TStringField *Table1Country;
TStringField *Table1Phone;
TDBGrid *DBGrid1;
TDBGrid *DBGrid2;
TDBNavigator *DBNavigator;
TPanel *Panel1;
TDataSource *DataSource1;
TPanel *Panel2;
TPanel *Panel3;
TSplitter *Splitter1;
TTable *Table1;
TTable *Table2;
TDataSource *DataSource2;
void __fastcall FormCreate(TObject *Sender);
private:
// private declarations
public:
// public declarations
__fastcall TForm1(TComponent *Owner);
};
//----------------------------------------------------------------------------
extern TForm1 *Form1;
//----------------------------------------------------------------------------
#endif