📄 mainunit.h
字号:
//---------------------------------------------------------------------------
#ifndef MainUnitH
#define MainUnitH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "SBHTTPSClient.hpp"
#include "SBSimpleSSL.hpp"
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TFrmFileUpload : public TForm
{
__published: // IDE-managed Components
TLabel *Label1;
TLabel *Label2;
TEdit *EdURL;
TEdit *EdFileName;
TButton *BtSel;
TButton *BtStart;
TProgressBar *PBUploading;
TOpenDialog *dlgOpen;
TElHTTPSClient *HttpClient;
void __fastcall BtStartClick(TObject *Sender);
void __fastcall BtSelClick(TObject *Sender);
void __fastcall HttpClientData(TObject *Sender, Pointer Buffer,
int Size);
void __fastcall HttpClientProgress(TObject *Sender, __int64 Total,
__int64 Current, bool &Cancel);
private: // User declarations
public: // User declarations
__fastcall TFrmFileUpload(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrmFileUpload *FrmFileUpload;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -