Form.OnPaint(PaintEventArgs) 方法

定义

引发 Paint 事件。

protected:
 override void OnPaint(System::Windows::Forms::PaintEventArgs ^ e);
protected override void OnPaint (System.Windows.Forms.PaintEventArgs e);
override this.OnPaint : System.Windows.Forms.PaintEventArgs -> unit
Protected Overrides Sub OnPaint (e As PaintEventArgs)

参数

e
PaintEventArgs

包含事件数据的 PaintEventArgs

适用于

另请参阅