System.Windows.Forms.Theming.ThemeElements.DrawButton C# (CSharp) Method

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
		public static void DrawButton (Graphics g, Rectangle bounds, ButtonThemeState state, Color backColor, Color foreColor)
		{
			theme.ButtonPainter.Draw (g, bounds, state, backColor, foreColor);
		}