Control.InvokePaint Method (Control, PaintEventArgs)

 

Raises the Paint event for the specified control.

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

Protected Sub InvokePaint (
	c As Control,
	e As PaintEventArgs
)

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: