download.h

来自「通过串口发送接受文件」· C头文件 代码 · 共 54 行

H
54
字号
//---------------------------------------------------------------------------
#ifndef DownloadH
#define DownloadH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include "Comport.h"
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class TfrmDownload : public TForm
{
__published:	// IDE-managed Components
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
        TLabel *Label4;
        TLabel *LabelShortFileName;
        TLabel *LabelCurrentFile;
    TLabel *LabelCurrentFileSaveAs;
        TLabel *LabelCurrentSize;
        TProgressBar *ProgressTotalProgress;
        TLabel *Label5;
        TLabel *LabelFileCount;
        TLabel *Label6;
        TLabel *LabelMachineName;
        TButton *SpeedButton1;
        TLabel *Label8;
        TLabel *LabelTotalSize;
        TLabel *LabelCurrentProgress;
        TLabel *Label9;
        TLabel *Label10;
        TProgressBar *ProgressCurrentProgress;
        TLabel *Label7;
        TLabel *LabelTotalProgress;
    TTimer *Timer1;
        void __fastcall SpeedButton1Click(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall Timer1Timer(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TfrmDownload(TComponent* Owner);
        void RefreshDisplay(void);

};
//---------------------------------------------------------------------------
extern PACKAGE TfrmDownload *frmDownload;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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