📄 mainform.h
字号:
//---------------------------------------------------------------------------
#ifndef MainFormH
#define MainFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "JvComponent.hpp"
#include "JvExControls.hpp"
#include "JvInspector.hpp"
#include <JvInspExtraEditors.hpp>
#include "IniFiles.hpp"
#include <ImgList.hpp>
//---------------------------------------------------------------------------
class TfrmMain : public TForm
{
__published: // IDE-managed Components
TImageList *TestImageList;
TJvInspectorDotNETPainter *JvInspectorDotNETPainter1;
TJvInspectorBorlandPainter *JvInspectorBorlandPainter1;
TJvInspector *JvInspector1;
void __fastcall FormShow(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall JvInspector1AfterItemCreate(TObject *Sender,
TJvCustomInspectorItem *Item);
// This method MUST be published or the retrieval of its address
// by MethodAddress will return NULL
void __fastcall Edit1Change2(TObject* Sender);
private: // User declarations
bool BoolsAsChecks;
TIniFile* INI;
void __fastcall AddInspectorSettings();
void __fastcall AddGlobalSettings();
void __fastcall AddFormAndControls();
void __fastcall AddCompoundTest();
void __fastcall AddCtrl(TJvCustomInspectorItem* Parent, TControl* Ctrl);
void __fastcall AddINIFile();
void __fastcall AddVarious();
void __fastcall ChangeChkState(TJvCustomInspectorItem* Item);
void __fastcall GetBoolsAsChecks(TJvInspectorEventData* Sender, __int64& Value);
void __fastcall SetBoolsAsChecks(TJvInspectorEventData* Sender, __int64& Value);
void __fastcall OnINISection(AnsiString& SectionName, bool& Parse);
void __fastcall OnINIKey(const AnsiString SectionName, AnsiString& ItemName, PTypeInfo& ATypeInfo, bool& Allow);
public: // User declarations
__fastcall TfrmMain(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmMain *frmMain;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -