PictureBox.OnPaint(PaintEventArgs) 方法

定义

引发 Paint 事件。Raises the Paint event.

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

参数

pe
PaintEventArgs

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

适用于