共用方式為


Control.InvokePaintBackground(Control, PaintEventArgs) 方法

定義

引發指定之控制項的 PaintBackground 事件。

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 事件的 Paint

e
PaintEventArgs

包含事件資料的 PaintEventArgs

適用於

另請參閱