Control.RaisePaintEvent(Object, PaintEventArgs) Method

Definition

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

Parameters

key
Object

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

e
PaintEventArgs

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

Applies to

See also