Unit1.h
上传用户:gyjjlc
上传日期:2013-03-29
资源大小:2124k
文件大小:1k
源码类别:

多显示器编程

开发平台:

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 "Unit2.h"
  10. //---------------------------------------------------------------------------
  11. class TForm1 : public TForm
  12. {
  13. __published: // IDE-managed Components
  14.     TLabel *Label1;
  15.     TButton *Button1;
  16.     TButton *Button2;
  17.     TButton *Button3;
  18.     TButton *Button4;
  19.     void __fastcall FormCreate(TObject *Sender);
  20.     void __fastcall Button1Click(TObject *Sender);
  21.     void __fastcall Button2Click(TObject *Sender);
  22.     void __fastcall Button3Click(TObject *Sender);
  23.     void __fastcall Button4Click(TObject *Sender);
  24. private:
  25.     TsimpleThread * pThread; // User declarations
  26. public: // User declarations
  27.     __fastcall TForm1(TComponent* Owner);
  28.     void __fastcall ThreadOnEnd(TObject * Sender);
  29. };
  30. //---------------------------------------------------------------------------
  31. extern PACKAGE TForm1 *Form1;
  32. //---------------------------------------------------------------------------
  33. #endif