Control.InvokePaintBackground(Control, PaintEventArgs) Control.InvokePaintBackground(Control, PaintEventArgs) Control.InvokePaintBackground(Control, PaintEventArgs) Control.InvokePaintBackground(Control, PaintEventArgs) Method

定义

为指定的控件引发 PaintBackground 事件。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)

参数

c
Control Control Control Control

要为之分配 Control 事件的 PaintThe Control to assign the Paint event to.

e
PaintEventArgs PaintEventArgs PaintEventArgs PaintEventArgs

包含事件数据的 PaintEventArgsAn PaintEventArgs that contains the event data.

适用于

另请参阅