共用方式為


ControlDesigner.OnPaintAdornments(PaintEventArgs) 方法

定義

在設計工具正在管理的控制項已繪製其介面時接收呼叫,讓設計工具可以在控制項之上繪製任何其他的裝飾。

protected:
 virtual void OnPaintAdornments(System::Windows::Forms::PaintEventArgs ^ pe);
protected virtual void OnPaintAdornments (System.Windows.Forms.PaintEventArgs pe);
abstract member OnPaintAdornments : System.Windows.Forms.PaintEventArgs -> unit
override this.OnPaintAdornments : System.Windows.Forms.PaintEventArgs -> unit
Protected Overridable Sub OnPaintAdornments (pe As PaintEventArgs)

參數

pe
PaintEventArgs

PaintEventArgs,設計工具可用於在控制項上繪製。

適用於