Form.OnPaint(PaintEventArgs) Form.OnPaint(PaintEventArgs) Form.OnPaint(PaintEventArgs) Form.OnPaint(PaintEventArgs) Method

定义

引发 Paint 事件。Raises the Paint event.

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 PaintEventArgs PaintEventArgs

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

适用于

另请参阅