- g
- The System.Drawing.Graphics used to draw the button.
- bounds
- The System.Drawing.Rectangle that specifies the bounds of the button.
- state
- One of the System.Windows.Forms.VisualStyles.PushButtonState values that specifies the visual state of the button.
If visual styles are enabled in the operating system and visual styles are applied to the current application, this method will draw the button with the current visual style. Otherwise, it will draw the button with the classic Windows style.