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 包含 null 引用(Visual Basic 中的 Nothing)。

注解

OnPaint 使用适当的主题设置绘制要包含在页眉和页脚中的任何文本。 它还绘制要包含在页眉和页脚中的任何图像。

注意 在派生类中重写 OnPaint 时,请务必调用 OnPaint 基类的方法,以便已注册的委托接收事件。

适用于