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.

適用於

另請參閱