Edit

Share via


Control.InvokePaint(Control, PaintEventArgs) Method

Definition

Raises the Paint event for the specified control.

protected:
 void InvokePaint(System::Windows::Forms::Control ^ c, System::Windows::Forms::PaintEventArgs ^ e);
protected void InvokePaint (System.Windows.Forms.Control c, System.Windows.Forms.PaintEventArgs e);
member this.InvokePaint : System.Windows.Forms.Control * System.Windows.Forms.PaintEventArgs -> unit
Protected Sub InvokePaint (c As Control, e As PaintEventArgs)

Parameters

c
Control

The Control to assign the Paint event to.

e
PaintEventArgs

An PaintEventArgs that contains the event data.

Applies to

See also