PictureBox.OnPaint(PaintEventArgs) 方法

定义

引发 Paint 事件。

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

包含事件数据的 PaintEventArgs

适用于