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 _
)
[C#]
protected void InvokePaint(
 Control c,
 PaintEventArgs e
);
[C++]
protected: void InvokePaint(
 Control* c,
 PaintEventArgs* e
);
[JScript]
protected function InvokePaint(
   c : Control,
 e : PaintEventArgs
);

Parameters

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

Requirements

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

Show:
© 2014 Microsoft