📄 comm.~cpp
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Comm.h"
#pragma package(smart_init)
//---------------------------------------------------------------------------
// ValidCtrCheck is used to assure that the components created do not have
// any pure virtual functions.
//
static inline void ValidCtrCheck(TComm *)
{
new TComm(NULL);
}
//---------------------------------------------------------------------------
__fastcall TComm::TComm(TComponent* Owner)
: TComponent(Owner)
{
CommTimer= new TTimer(this);
CommTimer->Enabled=false;
CommTimer->Interval =10;
CommTimer->OnTimer =ProcTimer;
hComm = 0; //硄癟梆Handle
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -