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 <ExtCtrls.hpp>
  10. #include <Graphics.hpp>
  11. //---------------------------------------------------------------------------
  12. class TForm1 : public TForm
  13. {
  14. __published: // IDE-managed Components
  15.         TImage *Image1;
  16.         TImage *Image2;
  17.         TButton *Button1;
  18.         TButton *Button2;
  19.         void __fastcall Button1Click(TObject *Sender);
  20.         void __fastcall Button2Click(TObject *Sender);
  21. private: // User declarations
  22. public: // User declarations
  23.         __fastcall TForm1(TComponent* Owner);
  24.         AnsiString Read2Byte(TStream *sm);
  25. };
  26. //---------------------------------------------------------------------------
  27. extern PACKAGE TForm1 *Form1;
  28. //---------------------------------------------------------------------------
  29. #endif