mtsrv1.h

来自「文件名称:新曦 我的资源 搜索软件 源程序(Borland Delphi 7)说」· C头文件 代码 · 共 35 行

H
35
字号
//---------------------------------------------------------------------------
#ifndef mtsrv1H
#define mtsrv1H
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include "WSocket.hpp"
//---------------------------------------------------------------------------
class TServerForm : public TForm
{
__published:	// IDE-managed Components
    TButton *DisconnectButton;
    TButton *DisconnectAllButton;
    TButton *QuitButton;
    TListBox *ClientListBox;
    TWSocket *ServerWSocket;
    void __fastcall QuitButtonClick(TObject *Sender);
    void __fastcall ServerWSocketSessionAvailable(TObject *Sender, WORD Error);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall DisconnectButtonClick(TObject *Sender);
    void __fastcall DisconnectAllButtonClick(TObject *Sender);
    void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
private:	// User declarations
    void __fastcall ClientThreadTerminate(TObject *Sender);
    void __fastcall DisconnectAll();
public:		// User declarations
    __fastcall TServerForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TServerForm *ServerForm;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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