📄 mainattr.h
字号:
//---------------------------------------------------------------------------
#ifndef MainAttrH
#define MainAttrH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <FileCtrl.hpp>
//---------------------------------------------------------------------------
class TMainForm : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TFileListBox *FileListBox1;
TDirectoryListBox *DirectoryListBox1;
TDriveComboBox *DriveComboBox1;
TEdit *Edit1;
TGroupBox *GroupBox1;
TCheckBox *CheckBox1;
TCheckBox *CheckBox2;
TCheckBox *CheckBox3;
TCheckBox *CheckBox4;
TButton *ReadButton;
TButton *ModifyButton;
TButton *ExitButton;
TLabel *Label1;
TLabel *Label2;
TLabel *Label5;
TLabel *FileName;
TLabel *FilePathName;
TLabel *ChangeDate;
TLabel *Label3;
TLabel *FileSize;
TLabel *CreateDate;
TLabel *AccessDate;
TLabel *Label4;
TLabel *Label6;
void __fastcall ReadButtonClick(TObject *Sender);
void __fastcall ModifyButtonClick(TObject *Sender);
void __fastcall ExitButtonClick(TObject *Sender);
void __fastcall FormDestroy(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
private: // User declarations
FILETIME *CreationTime;
FILETIME *LastAccessTime;
FILETIME *LastWriteTime;
SYSTEMTIME *STime;
AnsiString filename;
int AttrByte;
AnsiString __fastcall TimeToString(SYSTEMTIME *Time);
public: // User declarations
__fastcall TMainForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TMainForm *MainForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -