Unit1.h
上传用户:lhxd_sz
上传日期:2014-10-02
资源大小:38814k
文件大小:1k
源码类别:

VC书籍

开发平台:

C++ Builder

  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <Db.hpp>
  10. #include <DBTables.hpp>
  11. #include <DBGrids.hpp>
  12. #include <Grids.hpp>
  13. //---------------------------------------------------------------------------
  14. class TForm1 : public TForm
  15. {
  16. __published: // IDE-managed Components
  17.         TButton *Button1;
  18.         TQuery *Query1;
  19.         TEdit *Edit1;
  20.         TCheckBox *CheckBox1;
  21.         TDataSource *DataSource1;
  22.         TDBGrid *DBGrid1;
  23.         TButton *Button2;
  24.         TButton *Button3;
  25.         void __fastcall Button1Click(TObject *Sender);
  26.         void __fastcall Button2Click(TObject *Sender);
  27.         void __fastcall Button3Click(TObject *Sender);
  28. private: // User declarations
  29. public: // User declarations
  30.         __fastcall TForm1(TComponent* Owner);
  31. };
  32. //---------------------------------------------------------------------------
  33. extern PACKAGE TForm1 *Form1;
  34. //---------------------------------------------------------------------------
  35. #endif