Export (0) Print
Expand All
Expand Minimize

Control.InvokePaintBackground Method

Raises the PaintBackground event for the specified control.

[Visual Basic]
Protected Sub InvokePaintBackground( _
   ByVal c As Control, _
   ByVal e As PaintEventArgs _
)
[C#]
protected void InvokePaintBackground(
 Control c,
 PaintEventArgs e
);
[C++]
protected: void InvokePaintBackground(
 Control* c,
 PaintEventArgs* e
);
[JScript]
protected function InvokePaintBackground(
   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 | OnPaintBackground

Show:
© 2014 Microsoft