In The Hand LtdIn The Hand
DrawButton Method (graphics, rectangle, state)
NamespacesInTheHand.Windows.FormsControlPaintDrawButton(Graphics, Rectangle, ButtonState)
.NET Components for Mobility
Draws a button control in the specified state, on the specified graphics surface, and within the specified bounds.
Declaration Syntax
C#Visual Basic
public static void DrawButton(
	Graphics graphics,
	Rectangle rectangle,
	ButtonState state
)
Public Shared Sub DrawButton ( _
	graphics As Graphics, _
	rectangle As Rectangle, _
	state As ButtonState _
)
Parameters
graphics (Graphics)
The Graphics to draw on.
rectangle (Rectangle)
The Rectangle that represents the dimensions of the button.
state (ButtonState)
A bitwise combination of the ButtonState values that specifies the state to draw the button in.

Assembly: InTheHand.Windows.Forms (Module: InTheHand.Windows.Forms) Version: 7.0.0.0