Control.InvokePaint(Control, PaintEventArgs) Control.InvokePaint(Control, PaintEventArgs) Control.InvokePaint(Control, PaintEventArgs) Control.InvokePaint(Control, PaintEventArgs) Method

Définition

Déclenche l'événement Paint pour le contrôle spécifié.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)

Paramètres

c
Control Control Control Control

Control auquel assigner l'événement Paint.The Control to assign the Paint event to.

e
PaintEventArgs PaintEventArgs PaintEventArgs PaintEventArgs

PaintEventArgs qui contient les données d'événement.An PaintEventArgs that contains the event data.

S’applique à

Voir aussi