jvprogressdialogmain.h

来自「最新版 JCL+JVCL控件!非常不错的控件资源。包含了所能用到的大部分功能!」· C头文件 代码 · 共 52 行

H
52
字号
//---------------------------------------------------------------------------

#ifndef JvProgressDialogMainH
#define JvProgressDialogMainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include <ExtDlgs.hpp>
#include <Graphics.hpp>
#include "JvProgressDialog.hpp"
//---------------------------------------------------------------------------
class TfrmProgressDialogDemo : public TForm
{
__published:	// IDE-managed Components
        TImage *Image1;
        TLabel *Label1;
        TLabel *Label2;
        TButton *btnExecute;
        TCheckBox *chkShowLogo;
        TCheckBox *chkShowCancel;
        TEdit *edCaption;
        TEdit *edText;
        TCheckBox *chkShowEvents;
        TButton *btnSelectImage;
        TCheckBox *chkTransparent;
        TCheckBox *chkShowModal;
        TOpenPictureDialog *OpenPictureDialog1;
        void __fastcall btnExecuteClick(TObject *Sender);
        void __fastcall btnSelectImageClick(TObject *Sender);
private:        // User declarations
        int  FCancelPosition;
        void DoModalShow(void);
        void __fastcall DoDialogProgress(TObject* Sender, bool &AContinue);
        void __fastcall DoDialogCancel(TObject *Sender);
        void __fastcall DoDialogClose(TObject * Sender);
        void __fastcall DoDialogShow(TObject * Sender);
        void DoNonModalShow(void);
protected:

public:         // User declarations
        __fastcall TfrmProgressDialogDemo(TComponent* Owner);
    TJvProgressDialog *pd;
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmProgressDialogDemo *frmProgressDialogDemo;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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