Control.RaisePaintEvent(Object, PaintEventArgs) Control.RaisePaintEvent(Object, PaintEventArgs) Control.RaisePaintEvent(Object, PaintEventArgs) Control.RaisePaintEvent(Object, PaintEventArgs) Method

定义

引发适当的绘画事件。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 Object Object Object

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

e
PaintEventArgs PaintEventArgs PaintEventArgs PaintEventArgs

包含事件数据的 PaintEventArgsA PaintEventArgs that contains the event data.

适用于

另请参阅