This documentation is archived and is not being maintained.

ButtonBase.OnPaint Method

This member overrides Control.OnPaint.

[Visual Basic]
Overrides Protected Sub OnPaint( _
   ByVal pevent As PaintEventArgs _
)
[C#]
protected override void OnPaint(
 PaintEventArgs pevent
);
[C++]
protected: void OnPaint(
 PaintEventArgs* pevent
);
[JScript]
protected override function OnPaint(
   pevent : PaintEventArgs
);

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

ButtonBase Class | ButtonBase Members | System.Windows.Forms Namespace

Show: