C# Class KeePass.UI.FontUtil

Mostrar archivo Open project: amiryal/keepass2 Class Usage Examples

Public Methods

Method Description
AssignDefault ( Control c ) : void
AssignDefaultBold ( Control c ) : void
AssignDefaultItalic ( Control c ) : void
AssignDefaultMono ( Control c, bool bIsPasswordBox ) : void
CreateFont ( Font fBase, FontStyle fs ) : Font
CreateFont ( FontFamily ff, float fEmSize, FontStyle fs ) : Font
CreateFont ( string strFamily, float fEmSize, FontStyle fs ) : Font
CreateFont ( string strFamily, float fEmSize, FontStyle fs, GraphicsUnit gu ) : Font
SetDefaultFont ( Control c ) : void

Method Details

AssignDefault() public static method

public static AssignDefault ( Control c ) : void
c System.Windows.Forms.Control
return void

AssignDefaultBold() public static method

public static AssignDefaultBold ( Control c ) : void
c System.Windows.Forms.Control
return void

AssignDefaultItalic() public static method

public static AssignDefaultItalic ( Control c ) : void
c System.Windows.Forms.Control
return void

AssignDefaultMono() public static method

public static AssignDefaultMono ( Control c, bool bIsPasswordBox ) : void
c System.Windows.Forms.Control
bIsPasswordBox bool
return void

CreateFont() public static method

public static CreateFont ( Font fBase, FontStyle fs ) : Font
fBase System.Drawing.Font
fs FontStyle
return System.Drawing.Font

CreateFont() public static method

public static CreateFont ( FontFamily ff, float fEmSize, FontStyle fs ) : Font
ff System.Drawing.FontFamily
fEmSize float
fs FontStyle
return System.Drawing.Font

CreateFont() public static method

public static CreateFont ( string strFamily, float fEmSize, FontStyle fs ) : Font
strFamily string
fEmSize float
fs FontStyle
return System.Drawing.Font

CreateFont() public static method

public static CreateFont ( string strFamily, float fEmSize, FontStyle fs, GraphicsUnit gu ) : Font
strFamily string
fEmSize float
fs FontStyle
gu GraphicsUnit
return System.Drawing.Font

SetDefaultFont() public static method

public static SetDefaultFont ( Control c ) : void
c System.Windows.Forms.Control
return void