Draws a Win32 button control in the given rectangle with the given state.
[Visual Basic] Overloads Public Shared Sub DrawButton( _ ByVal graphics As Graphics, _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal state As ButtonState _ ) [C#] public static void DrawButton( Graphics graphics, int x, int y, int width, int height, ButtonState state ); [C++] public: static void DrawButton( Graphics* graphics, int x, int y, int width, int height, ButtonState state ); [JScript] public static function DrawButton( graphics : Graphics, x : int, y : int, width : int, height : int, state : ButtonState );
ControlPaint Class | ControlPaint Members | System.WinForms Namespace | ControlPaint.DrawButton Overload List