C# Class ResourceLib.Method.GuiConfig

Description of UIConfig.
Mostrar archivo Open project: magicdict/MongoCola

Public Properties

Property Type Description
ActionColor System.Drawing.Color
FailColor System.Drawing.Color
IsMono bool
IsUseDefaultLanguage bool
MacFontFamilyName string
SuccessColor System.Drawing.Color
WarningColor System.Drawing.Color
mStringResource StringResource

Public Methods

Method Description
GetMonoFont ( Font orgFont ) : Font

ChangeFont

GetText ( string tag ) : string

获得文字

GetText ( string defaultText, string tag ) : string

获得文字

MonoCompactControl ( Control controls ) : void

Mono

Translateform ( Control controls ) : void

控件多语言化

Translateform ( Form frm ) : void

自动化多语言

Translateform ( ToolStripItemCollection controls ) : void

控件多语言化

Method Details

GetMonoFont() public static method

ChangeFont
public static GetMonoFont ( Font orgFont ) : Font
orgFont System.Drawing.Font Org font.
return System.Drawing.Font

GetText() public static method

获得文字
public static GetText ( string tag ) : string
tag string
return string

GetText() public static method

获得文字
public static GetText ( string defaultText, string tag ) : string
defaultText string
tag string
return string

MonoCompactControl() public static method

Mono
public static MonoCompactControl ( Control controls ) : void
controls System.Windows.Forms.Control
return void

Translateform() public static method

控件多语言化
public static Translateform ( Control controls ) : void
controls System.Windows.Forms.Control
return void

Translateform() public static method

自动化多语言
public static Translateform ( Form frm ) : void
frm System.Windows.Forms.Form
return void

Translateform() public static method

控件多语言化
public static Translateform ( ToolStripItemCollection controls ) : void
controls System.Windows.Forms.ToolStripItemCollection
return void

Property Details

ActionColor public_oe static_oe property

动作提示色
public static Color,System.Drawing ActionColor
return System.Drawing.Color

FailColor public_oe static_oe property

失败提示色
public static Color,System.Drawing FailColor
return System.Drawing.Color

IsMono public_oe static_oe property

是否为Mono
public static bool IsMono
return bool

IsUseDefaultLanguage public_oe static_oe property

是否使用默认语言
public static bool IsUseDefaultLanguage
return bool

MacFontFamilyName public_oe static_oe property

Mac默认中文字体 中/日
public static string MacFontFamilyName
return string

SuccessColor public_oe static_oe property

成功提示色
public static Color,System.Drawing SuccessColor
return System.Drawing.Color

WarningColor public_oe static_oe property

警告提示色
public static Color,System.Drawing WarningColor
return System.Drawing.Color

mStringResource public_oe static_oe property

字符串
public static StringResource,ResourceLib.Method mStringResource
return StringResource