带你迈上专业软件开发第一步:远程屏幕监视软件的设计与实现
2009-05-29 16:52:57 来源:WEB开发网TToolButton *ToolButton14;
……
……//可视化控件相关声明
void __fastcall HelpAbout1Execute(TObject *Sender);
void __fastcall FileExit1Execute(TObject *Sender);
void __fastcall ServerSocket1ClientRead(TObject *Sender,
TCustomWinSocket *Socket);
void __fastcall ServerSocket1ClientError(TObject *Sender,
TCustomWinSocket *Socket, TErrorEvent ErrorEvent,
int &ErrorCode);
void __fastcall FormCreate(TObject *Sender);
void __fastcall FileSaveAsItemClick(TObject *Sender);
void __fastcall HideForm(TObject *Sender);
……//处理可视化控件的相关方法
private:
void __fastcall CreateMDIChild(const AnsiString sAddress, int CL, int CQ);
public:
virtual __fastcall TMainForm(TComponent *Owner);
};
(3)子窗口类TMDIChild:
class TMDIChild : public TForm
{
__published:
……//可视化控件相关声明
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall Image1DblClick(TObject *Sender);
void __fastcall N3Click(TObject *Sender);
void __fastcall N2Click(TObject *Sender);
……//处理可视化控件的相关方法
private:
public:
virtual __fastcall TMDIChild(TComponent *Owner);
bool __fastcall LoadImage(void); // 载入图象
更多精彩
赞助商链接