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

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 <Menus.hpp>
  10. #include <Db.hpp>
  11. #include <DBCtrls.hpp>
  12. #include <DBTables.hpp>
  13. #include <ExtCtrls.hpp>
  14. #include <OleCtnrs.hpp>
  15. //---------------------------------------------------------------------------
  16. class TForm1 : public TForm
  17. {
  18. __published: // IDE-managed Components
  19.         TTable *Table1;
  20.         TDataSource *DataSource1;
  21.         TOleContainer *OleContainer1;
  22.         TDBLookupListBox *DBLookupListBox1;
  23.         TSplitter *Splitter1;
  24.         TMainMenu *MainMenu1;
  25.         TMenuItem *N1;
  26.         TMenuItem *N2;
  27.         TMenuItem *N3;
  28.         TMenuItem *N4;
  29.         TMenuItem *N5;
  30.         void __fastcall OleContainer1Exit(TObject *Sender);
  31.         void __fastcall FormActivate(TObject *Sender);
  32.         void __fastcall FormDestroy(TObject *Sender);
  33.         void __fastcall N2Click(TObject *Sender);
  34.         void __fastcall DBLookupListBox1Click(TObject *Sender);
  35.         void __fastcall N3Click(TObject *Sender);
  36.         void __fastcall N5Click(TObject *Sender);
  37. private: // User declarations
  38. public: // User declarations
  39.         __fastcall TForm1(TComponent* Owner);
  40.         void __fastcall LoadOleField(void);
  41.         void __fastcall SaveOleField(void);
  42. };
  43. //---------------------------------------------------------------------------
  44. extern PACKAGE TForm1 *Form1;
  45. //---------------------------------------------------------------------------
  46. #endif