SequentialWorkflowRootDesigner.OnPaint(ActivityDesignerPaintEventArgs) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
繪製與 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 基底類別的方法,讓註冊的代理收到事件。