📄 sftdownload.h
字号:
//---------------------------------------------------------------------------
#ifndef SFTDownloadH
#define SFTDownloadH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <ComCtrls.hpp>
#include "Comport.h"
//---------------------------------------------------------------------------
class SFTDownload : public TThread
{
private:
protected:
void __fastcall Execute();
public:
__fastcall SFTDownload(bool CreateSuspended);
TComport *Com;
TLabel *FileCount;
TLabel *TotalSize;
TLabel *TotalDown;
TProgressBar *TotalProgress;
TLabel *CurrentFile;
TLabel *CurrentSize;
TLabel *CurrentDown;
TLabel *MachineName;
TLabel *SaveAs;
TProgressBar *CurrentProgress;
char DownloadPath[256];
char MachineID[64];
bool Stop;
bool AddMachineIDToFileName;
bool AllowMessageBox;
};
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -