C# Class System.Windows.Forms.Theming.ThemeElements

Show file Open project: runefs/Marvin

Public Methods

Method Description
DrawButton ( Graphics g, Rectangle bounds, ButtonThemeState state, Color backColor, Color foreColor ) : void
DrawFlatButton ( Graphics g, Rectangle bounds, ButtonThemeState state, Color backColor, Color foreColor, FlatButtonAppearance appearance ) : void
DrawPopupButton ( Graphics g, Rectangle bounds, ButtonThemeState state, Color backColor, Color foreColor ) : void

Private Methods

Method Description
LoadTheme ( string themeName ) : ThemeElementsDefault
ThemeElements ( ) : System

Method Details

DrawButton() public static method

public static DrawButton ( Graphics g, Rectangle bounds, ButtonThemeState state, Color backColor, Color foreColor ) : void
g System.Drawing.Graphics
bounds System.Drawing.Rectangle
state ButtonThemeState
backColor Color
foreColor Color
return void

DrawFlatButton() public static method

public static DrawFlatButton ( Graphics g, Rectangle bounds, ButtonThemeState state, Color backColor, Color foreColor, FlatButtonAppearance appearance ) : void
g System.Drawing.Graphics
bounds System.Drawing.Rectangle
state ButtonThemeState
backColor Color
foreColor Color
appearance FlatButtonAppearance
return void

DrawPopupButton() public static method

public static DrawPopupButton ( Graphics g, Rectangle bounds, ButtonThemeState state, Color backColor, Color foreColor ) : void
g System.Drawing.Graphics
bounds System.Drawing.Rectangle
state ButtonThemeState
backColor Color
foreColor Color
return void