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

Definizione

Genera l'evento Paint per il controllo specificato.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)

Parametri

c
Control Control Control Control

Oggetto Control a cui assegnare l'evento Paint.The Control to assign the Paint event to.

e
PaintEventArgs PaintEventArgs PaintEventArgs PaintEventArgs

Oggetto PaintEventArgs che contiene i dati dell'evento.An PaintEventArgs that contains the event data.

Si applica a

Vedi anche