PrintPreviewControl.OnPaint(PaintEventArgs) 方法

定义

重写 OnPaint(PaintEventArgs) 方法。

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

参数

pevent
PaintEventArgs

包含事件数据的 PaintEventArgs

适用于