Control.InvokePaintBackground Method (Control, PaintEventArgs)

 

Raises the PaintBackground event for the specified control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected void InvokePaintBackground(
	Control c,
	PaintEventArgs e
)

Parameters

c
Type: System.Windows.Forms.Control

The Control to assign the Paint event to.

e
Type: System.Windows.Forms.PaintEventArgs

An PaintEventArgs that contains the event data.

.NET Framework
Available since 1.1
Return to top
Show: