📄 serchdisk.h
字号:
//---------------------------------------------------------------------------
// ClassExplorer Pro generated header file
// Created by 颜承 on 99-11-24, 17:28:33
// TSerchDisk 用递归法搜索磁盘目录的类
//---------------------------------------------------------------------------
#ifndef SerchDiskH
#define SerchDiskH
#include <vcl.h>
//---------------------------------------------------------------------------
class TSerchDisk {
private:
int FFilterCount; //条件个数
bool IsAll; //是否搜索全部文件
AnsiString FPathName; //搜索起始目录
TStringList * FFileList; //搜索结果列表
void __fastcall FindDisk(AnsiString PathName); //递归函数
protected:
public:
AnsiString FilterString[16]; //条件数组
bool AddDir; //是否搜索目录
int __fastcall Serch(); //搜索
__fastcall TSerchDisk();
__fastcall ~TSerchDisk();
__property int FilterCount = { read = FFilterCount, write = FFilterCount };
__property AnsiString PathName = { read = FPathName, write = FPathName };
__property TStringList * FileList = { read = FFileList };
//__published:
};
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -