NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ButtonBase.DrawBackground

Draws the background for the button control.

[Visual Basic]
Protected Sub DrawBackground( _
   ByVal pevent As PaintEventArgs, _
   ByVal r As Rectangle _
)
[C#]
protected void DrawBackground(
   PaintEventArgs pevent,
   Rectangle r
);
[C++]
protected: void DrawBackground(
   PaintEventArgs* pevent,
   Rectangle r
);
[JScript]
protected function DrawBackground(
   pevent : PaintEventArgs,
   r : Rectangle
);

Parameters

pevent
[To be supplied.]
r
The Rectangle bounds to draw within.

See Also

ButtonBase Class | ButtonBase Members | System.WinForms Namespace | DrawFace | DrawImage