共用方式為


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,其中包含事件資料。

適用於