📄 main.h
字号:
//---------------------------------------------------------------------------
#ifndef mainH
#define mainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <dos.h>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TComboBox *ComboBox1;
TButton *Button1;
void __fastcall Button1Click(TObject *Sender);
void __fastcall FormKeyUp(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormPaint(TObject *Sender);
private: // User declarations
int flag; //程序状态
public: // User declarations
__fastcall TForm1(TComponent* Owner);
void __fastcall drawcross(int,int,int,int);
void __fastcall createcomport();
int testmode;
int xleft,ytop,xright,ybottom,xcen,ycen;
double xk,x0,yk,y0;
struct time t0,t1;
void __fastcall signorien(int,int,int,int);
void __fastcall signdisp(int,int,int,int);
};
//---------------------------------------------------------------------------
class TOrienRead : public TThread {
private:
protected:
void __fastcall DisplayIt(void);
void __fastcall Execute();
public:
__fastcall TOrienRead(bool CreateSuspended);
int stat,typ,xh,xl,yh,yl,zh,zl;
};
class TDispRead : public TThread {
private:
protected:
void __fastcall DisplayIt(void);
void __fastcall Execute();
public:
__fastcall TDispRead(bool CreateSuspended);
int stat,typ,xh,xl,yh,yl,zh,zl;
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -