Control.RaisePaintEvent(Object, PaintEventArgs) 方法

定義

引發適當的繪製事件。Raises the appropriate paint event.

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

要引發的事件。The event to raise.

e
PaintEventArgs

PaintEventArgs,其中包含事件資料。A PaintEventArgs that contains the event data.

適用於

另請參閱