Control.InvokePaintBackground(Control, PaintEventArgs) Método

Definición

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

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: