UnitMain.h
资源名称:第6章 多线程编程.rar [点击查看]
上传用户:gyjjlc
上传日期:2013-03-29
资源大小:2124k
文件大小:1k
源码类别:
多显示器编程
开发平台:
C++ Builder
- //---------------------------------------------------------------------------
- #ifndef UnitMainH
- #define UnitMainH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <Dialogs.hpp>
- #include <ComCtrls.hpp>
- #include "MSCommLib_OCX.h"
- #include <OleCtrls.hpp>
- //---------------------------------------------------------------------------
- class TFormMain : public TForm
- {
- __published: // IDE-managed Components
- TGroupBox *GroupBox1;
- TGroupBox *GroupBox2;
- TRichEdit *RichEdit1;
- TRichEdit *RichEdit2;
- TMSComm *MSComm1;
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall MSComm1Comm(TObject *Sender);
- void __fastcall RichEdit1KeyPress(TObject *Sender, char &Key);
- private: // User declarations
- AnsiString MyInput;
- public: // User declarations
- __fastcall TFormMain(TComponent* Owner);
- protected:
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TFormMain *FormMain;
- //---------------------------------------------------------------------------
- #endif
English
