?? unitoptions.h
字號:
//---------------------------------------------------------------------------
#ifndef UnitOptionsH
#define UnitOptionsH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
//---------------------------------------------------------------------------
class TFormOptions : public TForm
{
__published: // IDE-managed Components
TGroupBox *gbLang;
TRadioButton *rbLanAuto;
TRadioButton *rbLanEnu;
TRadioButton *rbLanChs;
TRadioButton *rbLanCht;
TGroupBox *gbFontSize;
TRadioButton *rbFsAuto;
TRadioButton *rbFsSmall;
TRadioButton *rbFsMedium;
TRadioButton *rbFsLarge;
TBitBtn *BnOK;
TBitBtn *BnCancel;
TImage *ImageLangAuto;
TImage *ImageLangEnglish;
TImage *ImageLangChs;
TImage *ImageLangCht;
void __fastcall BnCancelClick(TObject *Sender);
void __fastcall BnOKClick(TObject *Sender);
void __fastcall ImageLangAutoMouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall ImageLangEnglishMouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall ImageLangChsMouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall ImageLangChtMouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
public: // User declarations
__fastcall TFormOptions(TComponent* Owner);
private:
class TMsgStrings
{
public:
__property AnsiString Str_Caption = { read = fGetMsg, index = 0 }; //"選項"
__property AnsiString Str_Language = { read = fGetMsg, index = 1 }; //"語言"
__property AnsiString Str_FontSize = { read = fGetMsg, index = 2 }; //"字體"
__property AnsiString Str_EditStatus = { read = fGetMsg, index = 3 }; //"編輯"
__property AnsiString Str_PressEnter = { read = fGetMsg, index = 4 }; //"回車"
__property AnsiString Str_Auto = { read = fGetMsg, index = 5 }; //"自動"
__property AnsiString Str_English = { read = fGetMsg, index = 6 }; //"英語"
__property AnsiString Str_SimpChinese = { read = fGetMsg, index = 7 }; //"簡體中文"
__property AnsiString Str_TridChinese = { read = fGetMsg, index = 8 }; //"繁體中文"
__property AnsiString Str_Small = { read = fGetMsg, index = 9 }; //"小"
__property AnsiString Str_Medium = { read = fGetMsg, index = 10 }; //"中"
__property AnsiString Str_Large = { read = fGetMsg, index = 11 }; //"大"
__property AnsiString Str_OK = { read = fGetMsg, index = 12 }; //"確定"
__property AnsiString Str_Cancel = { read = fGetMsg, index = 13 }; //"取消"
__fastcall TMsgStrings();
private:
AnsiString __fastcall fGetMsg(int mt);
char **_Msg;
static char *_Msg_Chs[];
static char *_Msg_Cht[];
static char *_Msg_Enu[];
};
};
//---------------------------------------------------------------------------
extern PACKAGE TFormOptions *FormOptions;
//---------------------------------------------------------------------------
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -