SequentialWorkflowRootDesigner.OnPaint(ActivityDesignerPaintEventArgs) 方法

定義

繪製與 SequentialWorkflowRootDesigner. 相關聯的頁首與頁尾。

protected:
 override void OnPaint(System::Workflow::ComponentModel::Design::ActivityDesignerPaintEventArgs ^ e);
protected override void OnPaint(System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs e);
override this.OnPaint : System.Workflow.ComponentModel.Design.ActivityDesignerPaintEventArgs -> unit
Protected Overrides Sub OnPaint (e As ActivityDesignerPaintEventArgs)

參數

例外狀況

e 包含一個空參考(Nothing 在 Visual Basic 中)。

備註

OnPaint 會用適當的主題設定,繪製任何文字放入頁首和頁尾。 它也會繪製任何圖片,包含在頁首和頁尾中。

當你在衍生類別中覆寫 OnPaint 時,務必呼叫 OnPaint 基底類別的方法,讓註冊的代理收到事件。

適用於