mainunit.h

来自「著名的SecureBlackBox控件完整源码」· C头文件 代码 · 共 41 行

H
41
字号
//---------------------------------------------------------------------------

#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 + =
减小字号Ctrl + -
显示快捷键?