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

适用于

另请参阅