Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Control.InvokePaint Method

Raises the Paint event for the specified control.

[Visual Basic]
Protected Sub InvokePaint( _
   ByVal c As Control, _
   ByVal e As PaintEventArgs _
protected void InvokePaint(
 Control c,
 PaintEventArgs e
protected: void InvokePaint(
 Control* c,
 PaintEventArgs* e
protected function InvokePaint(
   c : Control,
 e : PaintEventArgs


The Control to assign the Paint event to.
An PaintEventArgs that contains the event data.


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

See Also

Control Class | Control Members | System.Windows.Forms Namespace | OnPaint | Paint

© 2015 Microsoft