⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.h

📁 C++Builder程序员编程手记《配书光盘》
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef mainH
#define mainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <registry.hpp>
#include <ComCtrls.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
  TTreeView *TreeView1;
  TSplitter *Splitter1;
  TPanel *Panel1;
  TSpeedButton *SpeedButton1;
  TSpeedButton *SpeedButton2;
  TSpeedButton *SpeedButton3;
  TSpeedButton *SpeedButton4;
  TSpeedButton *SpeedButton5;
  TComboBox *ComboBox1;
  TRadioButton *RadioButton1;
  TRadioButton *RadioButton2;
  TListView *ListView1;
  TOpenDialog *OpenDialog1;
        void __fastcall FormCreate(TObject *Sender);
  void __fastcall TreeView1Click(TObject *Sender);
  void __fastcall ComboBox1Change(TObject *Sender);
  void __fastcall RadioButton1Click(TObject *Sender);
  void __fastcall SpeedButton1Click(TObject *Sender);
  void __fastcall SpeedButton2Click(TObject *Sender);
  void __fastcall SpeedButton3Click(TObject *Sender);
  void __fastcall SpeedButton5Click(TObject *Sender);
private:	// User declarations
        TRegistryIniFile *reg;
        TIniFile *ini;
        TStrings *str;
        TTreeNode *Node;
    AnsiString __fastcall AppendKey(TTreeNode *key);
    void __fastcall ShowRegValue(TRegistryIniFile *newreg,AnsiString KeyPath);
    void __fastcall ShowIniValue(TIniFile *newini,AnsiString Key);
  void GetAllKeys(TTreeNode * CurrentNode,TRegistryIniFile *CurrentReg);
public:		// User declarations
  __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -