⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 umsgbox.h

📁 可实现科研信息管理系统的功能,有项目管理,教师管理,科研项目管理等多项内容
💻 H
字号:
//自定义的消息框        袁军
//---------------------------------------------------------------------------

#ifndef UMsgBoxH
#define UMsgBoxH
#include "UTemplate.h"
#include <Buttons.hpp>
#include <Classes.hpp>
#include <Controls.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <StdCtrls.hpp>
//---------------------------------------------------------------------------
class TFormMsgBox : public TFormTemplate
{
__published:	// IDE-managed Components
        TSpeedButton *SBtnYes;
        TSpeedButton *SBtnNo;
        TSpeedButton *SBtnCancel;
        TLabel *LabelMsg;
        TImage *ImageInformation;
        TImage *ImageError;
        TImage *ImageWarning;
        TImage *ImageYes;
        TImage *ImageNo;
        TImage *ImageCancel;
        void __fastcall MsgBox(AnsiString Caption, AnsiString Text, int BtnCount,int Msgtype);
        void __fastcall SBtnCloseTempClick(TObject *Sender);
        void __fastcall SBtnYesClick(TObject *Sender);
        void __fastcall SBtnNoClick(TObject *Sender);
        void __fastcall SBtnCancelClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TFormMsgBox(TComponent* Owner);
        int Id;
        //bool ismsgbox;
};
//---------------------------------------------------------------------------
extern PACKAGE TFormMsgBox *FormMsgBox;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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