共用方式為


Control.InvokePaint(Control, PaintEventArgs) 方法

定義

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

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)

參數

c
Control

要為其指定 Control 事件的 Paint

e
PaintEventArgs

包含事件資料的 PaintEventArgs

適用於

另請參閱