📄 pingtst1.h
字号:
//---------------------------------------------------------------------------
#ifndef PingTst1H
#define PingTst1H
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include "Ping.hpp"
//---------------------------------------------------------------------------
class TPingTstForm : public TForm
{
__published: // IDE-managed Components
TLabel *Label1;
TEdit *HostEdit;
TButton *PingButton;
TMemo *DisplayMemo;
TButton *CancelButton;
TPing *Ping1;
void __fastcall PingButtonClick(TObject *Sender);
void __fastcall Ping1DnsLookupDone(TObject *Sender, WORD Error);
void __fastcall Ping1Display(TObject *Sender, TObject *Icmp, AnsiString Msg);
void __fastcall CancelButtonClick(TObject *Sender);
void __fastcall Ping1EchoRequest(TObject *Sender, TObject *Icmp);
void __fastcall Ping1EchoReply(TObject *Sender, TObject *Icmp, int Error);
private: // User declarations
public: // User declarations
__fastcall TPingTstForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TPingTstForm *PingTstForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -