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 <Menus.hpp>
  10. AnsiString ReadName(TStream *sm);
  11. AnsiString ReadValue(TStream *sm);
  12. //---------------------------------------------------------------------------
  13. class TForm1 : public TForm
  14. {
  15. __published: // IDE-managed Components
  16.         TMainMenu *MainMenu1;
  17.         TButton *Button1;
  18.         void __fastcall Button1Click(TObject *Sender);
  19. private: // User declarations
  20. public: // User declarations
  21.         __fastcall TForm1(TComponent* Owner);
  22.         void __fastcall ReadMenuFile(AnsiString fname);
  23.         void __fastcall MItemClick(TObject *Sender);
  24. };
  25. //---------------------------------------------------------------------------
  26. extern PACKAGE TForm1 *Form1;
  27. //---------------------------------------------------------------------------
  28. #endif