📄 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>
#include "SUIForm.hpp"
#include "SUIMainMenu.hpp"
#include "SUIToolBar.hpp"
#include "SUIButton.hpp"
#include "SUIImagePanel.hpp"
#include <jpeg.hpp>
#include "SUIComboBox.hpp"
#include "SUIEdit.hpp"
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TsuiForm *suiForm1;
TsuiToolBar *suiToolBar1;
TMemo *Memo1;
TStatusBar *StatusBar1;
TToolBar *StandardToolBar;
TToolButton *ToolButton1;
TToolButton *ToolButton2;
TToolButton *ToolButton3;
TToolButton *ToolButton4;
TToolButton *ToolButton9;
TToolButton *ToolButton8;
TToolButton *ToolButton5;
TToolButton *ToolButton6;
TToolButton *ToolButton7;
TPanel *Panel1;
TPanel *Panel2;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label5;
TLabel *Label6;
TEdit *Edit1;
TEdit *Edit2;
TEdit *Edit3;
TEdit *Edit4;
TEdit *Edit5;
TMemo *Memo2;
TPanel *Panel3;
TShape *Shape1;
TLabel *Label7;
TLabel *Label8;
TLabel *Label9;
TLabel *Label10;
TLabel *Label11;
TLabel *Label12;
TEdit *Edit6;
TEdit *Edit7;
TEdit *Edit8;
TEdit *Edit9;
TEdit *Edit10;
TMemo *Memo3;
TClientSocket *Client;
TTimer *Timer1;
TImageList *ImageList1;
TServerSocket *ServerSocket1;
TsuiMainMenu *suiMainMenu1;
TMenuItem *N1;
TMenuItem *T1;
TMenuItem *Q1;
TsuiButton *suiButton_Chg;
TsuiImagePanel *suiImagePanel1;
TsuiPanel *suiPanel_Setup;
TLabel *Label_Set01;
TLabel *Label_Set02;
TLabel *Label_Set03;
TLabel *Label_Set04;
TLabel *Label_Set05;
TsuiEdit *suiEdit_LgAddr;
TsuiComboBox *suiComboBox1;
TsuiEdit *suiEdit_LgPort;
TsuiEdit *suiEdit_LgUser;
TsuiEdit *suiEdit_LgPass;
TsuiButton *suiSetBtn_OK;
TsuiButton *suiSetBtn_cancel;
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 T1Click(TObject *Sender);
void __fastcall Q1Click(TObject *Sender);
void __fastcall ToolButton8Click(TObject *Sender);
void __fastcall ClientConnect(TObject *Sender,
TCustomWinSocket *Socket);
void __fastcall suiButton_ChgClick(TObject *Sender);
void __fastcall suiForm1Click(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall suiPanel_SetupPop(TObject *Sender);
void __fastcall suiPanel_SetupPush(TObject *Sender);
void __fastcall suiSetBtn_cancelClick(TObject *Sender);
void __fastcall suiSetBtn_OKClick(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 + -