sftdownload.h
来自「通过串口发送接受文件」· C头文件 代码 · 共 35 行
H
35 行
//---------------------------------------------------------------------------
#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 + =
减小字号Ctrl + -
显示快捷键?