?? tndemo1.h
字號:
//---------------------------------------------------------------------------
#ifndef TnDemo1H
#define TnDemo1H
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\ExtCtrls.hpp>
#include "TnCnx.hpp"
//---------------------------------------------------------------------------
class TTnDemoForm : public TForm
{
__published: // IDE-managed Components
TMemo *DisplayMemo;
TPanel *Panel1;
TLabel *HostLabel;
TLabel *InfoLabel;
TLabel *PortLabel;
TEdit *HostEdit;
TButton *ConnectButton;
TButton *DisconnectButton;
TEdit *PortEdit;
TTnCnx *TnCnx;
void __fastcall ConnectButtonClick(TObject *Sender);
void __fastcall DisconnectButtonClick(TObject *Sender);
void __fastcall TnCnxSessionConnected(TTnCnx *Sender, WORD Error);
void __fastcall TnCnxSessionClosed(TTnCnx *Sender, WORD Error);
void __fastcall TnCnxDataAvailable(TTnCnx *Sender, PChar Buffer, int Len);
void __fastcall DisplayMemoKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall DisplayMemoKeyPress(TObject *Sender, char &Key);
private: // User declarations
public: // User declarations
__fastcall TTnDemoForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TTnDemoForm *TnDemoForm;
//---------------------------------------------------------------------------
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -