test_main.h

来自「一个完成端口的框架程序」· C头文件 代码 · 共 52 行

H
52
字号
//---------------------------------------------------------------------------

#ifndef Test_MainH
#define Test_MainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "IOCP_Class.h"
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
UINT MyMsgID;
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TPanel *Panel1;
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
        TLabel *Label4;
        TLabel *Label5;
        TStaticText *StaticText1;
        TStaticText *StaticText2;
        TStaticText *StaticText3;
        TStaticText *StaticText4;
        TStaticText *StaticText5;
        TTimer *Timer1;
        TLabel *Label6;
        TStaticText *StaticText6;
        TMemo *Memo1;
        TButton *Button1;
        TSaveDialog *SaveDialog1;
        TStaticText *StaticText7;
        TLabel *Label7;
        TButton *Button2;
	void __fastcall FormCreate(TObject *Sender);
        void __fastcall Timer1Timer(TObject *Sender);
        void __fastcall Button1Click(TObject *Sender);
        void __fastcall Button2Click(TObject *Sender);
private:	// User declarations
	TtcpIOCP IOCPServer;
void __fastcall WndProc(TMessage &Message);        
public:		// User declarations
	__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?