共用方式為


ComponentTray.OnPaint(PaintEventArgs) 方法

定義

在應該重新整理元件匣的檢視時呼叫。

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

適用於