OnPaint Method

Form.OnPaint Method

This member overrides Control.OnPaint.

[Visual Basic]
Overrides Protected Sub OnPaint( _
   ByVal e As PaintEventArgs _
)
[C#]
protected override void OnPaint(
 PaintEventArgs e
);
[C++]
protected: void OnPaint(
 PaintEventArgs* e
);
[JScript]
protected override function OnPaint(
   e : 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

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

Show:
© 2016 Microsoft