📄 main.~h
字号:
//---------------------------------------------------------------------------
#ifndef mainH
#define mainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ScktComp.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <ToolWin.hpp>
#include <Menus.hpp>
#include <ActnCtrls.hpp>
#include <ActnMan.hpp>
#include <ImgList.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TMemo *Memo1;
TStatusBar *StatusBar1;
TClientSocket *Client;
TTimer *Timer1;
TMainMenu *MainMenu1;
TMenuItem *N1;
TCoolBar *CoolBar1;
TImageList *ImageList1;
TToolBar *StandardToolBar;
TToolButton *ToolButton1;
TToolButton *ToolButton2;
TToolButton *ToolButton3;
TToolButton *ToolButton4;
TToolButton *ToolButton5;
TPanel *Panel1;
TPanel *Panel2;
TPanel *Panel3;
TLabel *Label1;
TEdit *Edit1;
TLabel *Label2;
TEdit *Edit2;
TLabel *Label3;
TEdit *Edit3;
TLabel *Label4;
TEdit *Edit4;
TServerSocket *ServerSocket1;
TMenuItem *Q1;
TToolButton *ToolButton6;
TToolButton *ToolButton7;
TLabel *Label5;
TEdit *Edit5;
TLabel *Label6;
TMemo *Memo2;
TMenuItem *T1;
TShape *Shape1;
TLabel *Label7;
TEdit *Edit6;
TLabel *Label8;
TEdit *Edit7;
TEdit *Edit8;
TLabel *Label9;
TLabel *Label10;
TEdit *Edit9;
TLabel *Label11;
TEdit *Edit10;
TLabel *Label12;
TMemo *Memo3;
TToolButton *ToolButton8;
TToolButton *ToolButton9;
TButton *Button1;
void __fastcall FormShow(TObject *Sender);
void __fastcall ClientRead(TObject *Sender,
TCustomWinSocket *Socket);
void __fastcall ClientError(TObject *Sender,
TCustomWinSocket *Socket, TErrorEvent ErrorEvent,
int &ErrorCode);
void __fastcall ClientDisconnect(TObject *Sender,
TCustomWinSocket *Socket);
void __fastcall Timer1Timer(TObject *Sender);
void __fastcall N1Click(TObject *Sender);
void __fastcall ToolButton1Click(TObject *Sender);
void __fastcall ToolButton2Click(TObject *Sender);
void __fastcall ToolButton4Click(TObject *Sender);
void __fastcall FormResize(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall ServerSocket1ClientRead(TObject *Sender,
TCustomWinSocket *Socket);
void __fastcall ToolButton6Click(TObject *Sender);
void __fastcall Q1Click(TObject *Sender);
void __fastcall T1Click(TObject *Sender);
void __fastcall ToolButton8Click(TObject *Sender);
void __fastcall ClientConnect(TObject *Sender,
TCustomWinSocket *Socket);
void __fastcall Button1Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -