📄 test_form.h
字号:
//---------------------------------------------------------------------------
#ifndef test_formH
#define test_formH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TtestForm : public TForm
{
__published: // IDE-managed Components
TMemo *logMemo;
TBitBtn *btEndTest;
TLabel *lbStatistics;
TBitBtn *btStartAgain;
TBitBtn *btSaveLog;
TSaveDialog *SaveDialog1;
TStaticText *lbStat;
TStaticText *lbDesc;
TLabel *lbDescription;
void __fastcall btEndTestClick(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall btClearLogClick(TObject *Sender);
void __fastcall btStartAgainClick(TObject *Sender);
void __fastcall btSaveLogClick(TObject *Sender);
void __fastcall FormKeyPress(TObject *Sender, char &Key);
private: // User declarations
public: // User declarations
__fastcall TtestForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TtestForm *testForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -