Control.InvokePaint(Control, PaintEventArgs) Método

Definición

Genera el evento Paint para el control especificado.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)

Parámetros

c
Control

Control al que se va a asignar el evento Paint.The Control to assign the Paint event to.

e
PaintEventArgs

Objeto PaintEventArgs que contiene los datos del evento.An PaintEventArgs that contains the event data.

Se aplica a

Consulte también: