📄 mainform.h
字号:
//---------------------------------------------------------------------------
#ifndef MainFormH
#define MainFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <ToolWin.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ActnList.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TToolBar *ToolBar1;
TTreeView *TreeView1;
TSplitter *Splitter1;
TListView *ListView1;
TImageList *ImageList1;
TToolButton *BackButton;
TToolButton *ForwordButton;
TToolButton *UpButton;
TToolButton *ExpandButton;
TToolButton *ToolButton5;
TToolButton *CollapseButton;
TToolButton *DeleteButton;
TToolButton *InsertButton;
TToolButton *ToolButton9;
TImageList *ImageList2;
TToolButton *ToolButton10;
TToolButton *ToolButton11;
TToolButton *ViewButton;
TPopupMenu *PopupMenu1;
TMenuItem *BigIconCmd;
TMenuItem *SmallIconCmd;
TMenuItem *ListCmd;
TMenuItem *DailCmd;
TImageList *ImageList3;
TImageList *ImageList4;
void __fastcall BackButtonClick(TObject *Sender);
void __fastcall ForwordButtonClick(TObject *Sender);
void __fastcall UpButtonClick(TObject *Sender);
void __fastcall CollapseButtonClick(TObject *Sender);
void __fastcall ExpandButtonClick(TObject *Sender);
void __fastcall DeleteButtonClick(TObject *Sender);
void __fastcall InsertButtonClick(TObject *Sender);
void __fastcall TreeView1Change(TObject *Sender, TTreeNode *Node);
void __fastcall ViewStyleExecute(TObject *Sender);
void __fastcall ViewButtonClick(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
private:
bool TestExpandStatus(TTreeNode * PreNode);
void TestParantCount(TTreeNode * ParantNode);
bool TestEnd(TTreeNode * CurrentNode);
bool ParentIsEnd(TTreeNode * CurrentNode); // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -