共用方式為


ToolStripControlHost.OnPaint(PaintEventArgs) 方法

定義

引發 Paint 事件。

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

參數

e
PaintEventArgs

PaintEventArgs,其中包含事件資料。

適用於