共用方式為


Control.RaisePaintEvent(Object, PaintEventArgs) 方法

定義

引發適當的繪製事件。

protected:
 void RaisePaintEvent(System::Object ^ key, System::Windows::Forms::PaintEventArgs ^ e);
protected void RaisePaintEvent (object key, System.Windows.Forms.PaintEventArgs e);
member this.RaisePaintEvent : obj * System.Windows.Forms.PaintEventArgs -> unit
Protected Sub RaisePaintEvent (key As Object, e As PaintEventArgs)

參數

key
Object

要引發的事件。

e
PaintEventArgs

PaintEventArgs,其中包含事件資料。

適用於

另請參閱