unit1.h

来自「一本介绍C++Builder网络应用编程的好书。深入浅出」· C头文件 代码 · 共 60 行

H
60
字号
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <NMURL.hpp>
#include <NMUUE.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
    TNMUUProcessor *NMUUProcessor1;
    TNMURL *NMURL1;
    TGroupBox *GroupBox1;
    TGroupBox *GroupBox2;
    TEdit *URLEdit;
    TEdit *InFileEdit;
    TButton *BtURLEncode;
    TButton *BtURLDecode;
    TButton *BtUUEncode;
    TButton *BtUUDecode;
    TButton *BtInputFile;
    TOpenDialog *OpenDialog1;
    TEdit *OutFileEdit;
    TLabel *Label1;
    TLabel *Label2;
    TLabel *Label3;
    TButton *BtOutputFile;
    TRichEdit *Output;
        TRadioGroup *RadioGroup1;
        TStatusBar *StatusBar1;
    void __fastcall BtURLEncodeClick(TObject *Sender);
    void __fastcall BtURLDecodeClick(TObject *Sender);
    void __fastcall BtUUEncodeClick(TObject *Sender);
    void __fastcall BtUUDecodeClick(TObject *Sender);
    void __fastcall BtInputFileClick(TObject *Sender);
    void __fastcall BtOutputFileClick(TObject *Sender);
        void __fastcall NMUUProcessor1EndDecode(TObject *Sender);
        void __fastcall NMUUProcessor1BeginDecode(TObject *Sender);
        void __fastcall NMUUProcessor1BeginEncode(TObject *Sender);
        void __fastcall NMUUProcessor1EndEncode(TObject *Sender);
    
private:	// User declarations
    bool    ValidInputFile;
    bool    ValidOutputFile;

public:		// User declarations
    __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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