C# Class KeePass.UI.FontUtil

Afficher le fichier Open project: amiryal/keepass2 Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static AssignDefault ( Control c ) : void
c System.Windows.Forms.Control
Résultat void

AssignDefaultBold() public static méthode

public static AssignDefaultBold ( Control c ) : void
c System.Windows.Forms.Control
Résultat void

AssignDefaultItalic() public static méthode

public static AssignDefaultItalic ( Control c ) : void
c System.Windows.Forms.Control
Résultat void

AssignDefaultMono() public static méthode

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

CreateFont() public static méthode

public static CreateFont ( Font fBase, FontStyle fs ) : Font
fBase System.Drawing.Font
fs FontStyle
Résultat System.Drawing.Font

CreateFont() public static méthode

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

CreateFont() public static méthode

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

CreateFont() public static méthode

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

SetDefaultFont() public static méthode

public static SetDefaultFont ( Control c ) : void
c System.Windows.Forms.Control
Résultat void