共用方式為


ToolStripSeparator.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

包含事件資料的 EventArgs

適用於