Control.InvokePaintBackground(Control, PaintEventArgs) Method

Definition

Raises the PaintBackground event for the specified control.

protected:
 void InvokePaintBackground(System::Windows::Forms::Control ^ c, System::Windows::Forms::PaintEventArgs ^ e);
protected void InvokePaintBackground (System.Windows.Forms.Control c, System.Windows.Forms.PaintEventArgs e);
member this.InvokePaintBackground : System.Windows.Forms.Control * System.Windows.Forms.PaintEventArgs -> unit
Protected Sub InvokePaintBackground (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