📄 unitabout.h
字号:
//---------------------------------------------------------------------------
#ifndef UnitAboutH
#define UnitAboutH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
//---------------------------------------------------------------------------
class TFormAbout : public TForm
{
__published: // IDE-managed Components
TBitBtn *BnOK;
TImage *Image1;
TLabel *LabelCaption;
TLabel *LabelVersion;
TLabel *LabelCo;
TLabel *LabelHomepage;
TLabel *LabelEmail;
TBevel *Bevel1;
TLabel *LabelOSVer;
TLabel *LabelPmtUser;
TLabel *LabelPmtOrgn;
TLabel *LabelUser;
TLabel *LabelUserOrg;
void __fastcall LabelHomepageClick(TObject *Sender);
void __fastcall LabelEmailClick(TObject *Sender);
void __fastcall BnOKClick(TObject *Sender);
private: // User declarations
public: // User declarations
class TMsgStrings
{
public:
__property AnsiString Str_About = { read = fGetMsg, index = 0 }; //"关于"
__property AnsiString Str_DotDotDot = { read = fGetMsg, index = 1 }; //"……"
__property AnsiString Str_User = { read = fGetMsg, index = 2 }; //"用户"
__property AnsiString Str_Orgn = { read = fGetMsg, index = 3 }; //"单位"
__property AnsiString Str_CRgtVersion = { read = fGetMsg, index = 4 }; //"版本: 1.00"
__property AnsiString Str_CRgtCoName = { read = fGetMsg, index = 5 }; //"Copyright (c) Victor Chen"
__property AnsiString Str_CRgtHomePage = { read = fGetMsg, index = 6 }; //"http://www.cppfans.com"
__property AnsiString Str_CRgtAuEmail = { read = fGetMsg, index = 7 }; //"victor@cppfans.com"
__property AnsiString Str_CRgtAuMailTo = { read = fGetMsg, index = 8 }; //"mailto:victor@cppfans.com"
__property AnsiString Str_OK = { read = fGetMsg, index = 9 }; //"确定"
__property AnsiString Str_Settings = { read = fGetMsg, index = 10 }; //"设置(&S)..."
__property AnsiString Str_MenuAbout = { read = fGetMsg, index = 11 }; //"关于(&A)..."
__fastcall TMsgStrings();
private:
char **_Msg;
static char *_Msg_Chs[];
static char *_Msg_Cht[];
static char *_Msg_Enu[];
AnsiString __fastcall fGetMsg(int);
};
__fastcall TFormAbout(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormAbout *FormAbout;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -