Unit1.h
资源名称:第6章 多线程编程.rar [点击查看]
上传用户:gyjjlc
上传日期:2013-03-29
资源大小:2124k
文件大小:1k
源码类别:
多显示器编程
开发平台:
C++ Builder
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include "Unit2.h"
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TLabel *Label1;
- TButton *Button1;
- TButton *Button2;
- TButton *Button3;
- TButton *Button4;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall Button1Click(TObject *Sender);
- void __fastcall Button2Click(TObject *Sender);
- void __fastcall Button3Click(TObject *Sender);
- void __fastcall Button4Click(TObject *Sender);
- private:
- TsimpleThread * pThread; // User declarations
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- void __fastcall ThreadOnEnd(TObject * Sender);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif
English
