Control.InvokePaintBackground(Control, PaintEventArgs) 方法

定义

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

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

参数

c
Control

要为之分配 Control 事件的 Paint

e
PaintEventArgs

包含事件数据的 PaintEventArgs

适用于

另请参阅