Control.InvokePaint(Control, PaintEventArgs) 方法

定义

为指定的控件引发 Paint 事件。

protected:
 void InvokePaint(System::Windows::Forms::Control ^ c, System::Windows::Forms::PaintEventArgs ^ e);
protected void InvokePaint (System.Windows.Forms.Control c, System.Windows.Forms.PaintEventArgs e);
member this.InvokePaint : System.Windows.Forms.Control * System.Windows.Forms.PaintEventArgs -> unit
Protected Sub InvokePaint (c As Control, e As PaintEventArgs)

参数

c
Control

要为之分配 Control 事件的 Paint

e
PaintEventArgs

包含事件数据的 PaintEventArgs

适用于

另请参阅