home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / ADRU1.H < prev    next >
C/C++ Source or Header  |  1997-02-28  |  5KB  |  160 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //----------------------------------------------------------------------------
  6. #ifndef Adru1H
  7. #define Adru1H
  8. //----------------------------------------------------------------------------
  9. #include <Buttons.hpp>
  10. #include <ExtCtrls.hpp>
  11. #include <DBCtrls.hpp>
  12. #include <Mask.hpp>
  13. #include <StdCtrls.hpp>
  14. #include <DBGrids.hpp>
  15. #include <Grids.hpp>
  16. #include <DBTables.hpp>
  17. #include <DB.hpp>
  18. #include <ComCtrls.hpp>
  19. #include <Dialogs.hpp>
  20. #include <Forms.hpp>
  21. #include <Controls.hpp>
  22. #include <Graphics.hpp>
  23. #include <Classes.hpp>
  24. #include <SysUtils.hpp>
  25. #include <Messages.hpp>
  26. #include <Windows.hpp>
  27. #include <System.hpp>
  28. //----------------------------------------------------------------------------
  29. class TForm1 : public TForm
  30. {
  31. __published:
  32.     TTabControl *TabControl1;
  33.     TDataSource *DataSource1;
  34.     TQuery *Query1;
  35.     TDBEdit *dbeAddr1;
  36.     TDBEdit *dbeAddr2;
  37.     TDBEdit *dbeContactName;
  38.     TDBEdit *dbeCity;
  39.     TDBEdit *dbeState;
  40.     TLabel *Label1;
  41.     TLabel *Label2;
  42.     TLabel *Label3;
  43.     TLabel *Label4;
  44.     TLabel *Label5;
  45.     TDBEdit *dbeZip;
  46.     TLabel *Label6;
  47.     TDBEdit *dbeCustomerNumber;
  48.     TDBEdit *dbeCompany;
  49.     TLabel *Label7;
  50.     TLabel *Label8;
  51.     TLabel *Label9;
  52.     TDBEdit *dbeCountry;
  53.     TDBEdit *dbePhone;
  54.     TDBEdit *dbeFax;
  55.     TLabel *Label11;
  56.     TLabel *Label12;
  57.     TBitBtn *BitBtn1;
  58.     TDataSource *DataSource2;
  59.     TTable *Table1;
  60.     TLabel *Label10;
  61.     TDBEdit *dbeLastInvDate;
  62.     TLabel *Label13;
  63.     TDBEdit *dbeTaxRate;
  64.     TGroupBox *GroupBox1;
  65.     TFloatField *Table1OrderNo;
  66.     TFloatField *Table1CustNo;
  67.     TDateTimeField *Table1SaleDate;
  68.     TDateTimeField *Table1ShipDate;
  69.     TIntegerField *Table1EmpNo;
  70.     TStringField *Table1ShipToContact;
  71.     TStringField *Table1ShipToAddr1;
  72.     TStringField *Table1ShipToAddr2;
  73.     TStringField *Table1ShipToCity;
  74.     TStringField *Table1ShipToState;
  75.     TStringField *Table1ShipToZip;
  76.     TStringField *Table1ShipToCountry;
  77.     TStringField *Table1ShipToPhone;
  78.     TStringField *Table1ShipVIA;
  79.     TStringField *Table1PO;
  80.     TStringField *Table1Terms;
  81.     TStringField *Table1PaymentMethod;
  82.     TCurrencyField *Table1ItemsTotal;
  83.     TFloatField *Table1TaxRate;
  84.     TCurrencyField *Table1Freight;
  85.     TCurrencyField *Table1AmountPaid;
  86.     TDBEdit *DBEdit1;
  87.     TDBEdit *DBEdit2;
  88.     TDBEdit *DBEdit3;
  89.     TDBEdit *DBEdit4;
  90.     TDBEdit *DBEdit5;
  91.     TDBEdit *DBEdit6;
  92.     TDBEdit *DBEdit7;
  93.     TDBEdit *DBEdit8;
  94.     TDBEdit *DBEdit9;
  95.     TDBEdit *DBEdit10;
  96.     TLabel *Label14;
  97.     TLabel *Label15;
  98.     TLabel *Label16;
  99.     TLabel *Label17;
  100.     TLabel *Label18;
  101.     TLabel *Label19;
  102.     TLabel *Label20;
  103.     TLabel *Label21;
  104.     TLabel *Label22;
  105.     TLabel *Label23;
  106.     TDBEdit *DBEdit11;
  107.     TDBEdit *DBEdit12;
  108.     TLabel *Label24;
  109.     TLabel *Label25;
  110.     TDBEdit *DBEdit13;
  111.     TDBEdit *DBEdit14;
  112.     TDBEdit *DBEdit15;
  113.     TLabel *Label26;
  114.     TLabel *Label27;
  115.     TLabel *Label28;
  116.     TSpeedButton *FirstOrders;
  117.     TSpeedButton *PriorOrders;
  118.     TSpeedButton *NextOrders;
  119.     TSpeedButton *LastOrders;
  120.     TSpeedButton *EditOrders;
  121.     TSpeedButton *PostOrders;
  122.     TSpeedButton *CancelOrders;
  123.     TSpeedButton *CancelCust;
  124.     TSpeedButton *PostCust;
  125.     TSpeedButton *EditCust;
  126.     TSpeedButton *LastCust;
  127.     TSpeedButton *NextCust;
  128.     TSpeedButton *PriorCust;
  129.     TSpeedButton *FirstCust;
  130.     void __fastcall BitBtn1Click(TObject *Sender);
  131.     void __fastcall TabControl1Change(TObject *Sender);
  132.     void __fastcall DataSource2StateChange(TObject *Sender);
  133.     void __fastcall DataSource1StateChange(TObject *Sender);
  134.     void __fastcall FirstOrdersClick(TObject *Sender);
  135.     void __fastcall PriorOrdersClick(TObject *Sender);
  136.     void __fastcall NextOrdersClick(TObject *Sender);
  137.     void __fastcall LastOrdersClick(TObject *Sender);
  138.     void __fastcall EditOrdersClick(TObject *Sender);
  139.     void __fastcall PostOrdersClick(TObject *Sender);
  140.     void __fastcall CancelOrdersClick(TObject *Sender);
  141.     void __fastcall FormCreate(TObject *Sender);
  142.     void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  143.     void __fastcall CancelCustClick(TObject *Sender);
  144.     void __fastcall PostCustClick(TObject *Sender);
  145.     void __fastcall EditCustClick(TObject *Sender);
  146.     void __fastcall LastCustClick(TObject *Sender);
  147.     void __fastcall NextCustClick(TObject *Sender);
  148.     void __fastcall PriorCustClick(TObject *Sender);
  149.     void __fastcall FirstCustClick(TObject *Sender);
  150.     
  151. public:
  152.     void __fastcall EnableDisableOrNav(void);
  153.     void __fastcall EnableDisableCsNav(void);
  154.     virtual __fastcall TForm1(TComponent *Owner);
  155. };
  156. //----------------------------------------------------------------------------
  157. extern TForm1 *Form1;
  158. //----------------------------------------------------------------------------
  159. #endif    
  160.