📄 waitnextstep.cs
字号:
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
namespace wxwinter.wf.TestWorkflow
{
public partial class waitNextStep: SequenceActivity
{
public waitNextStep()
{
InitializeComponent();
}
public static DependencyProperty MessageProperty = System.Workflow.ComponentModel.DependencyProperty.Register("Message", typeof(object), typeof(waitNextStep));
[Description("This is the description which appears in the Property Browser")]
[Category("This is the category which will be displayed in the Property Browser")]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public object Message
{
get
{
return ((object)(base.GetValue(waitNextStep.MessageProperty)));
}
set
{
base.SetValue(waitNextStep.MessageProperty, value);
}
}
public static DependencyProperty UserResultProperty = System.Workflow.ComponentModel.DependencyProperty.Register("UserResult", typeof(object), typeof(waitNextStep));
[Description("This is the description which appears in the Property Browser")]
[Category("This is the category which will be displayed in the Property Browser")]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public object UserResult
{
get
{
return ((object)(base.GetValue(waitNextStep.UserResultProperty)));
}
set
{
base.SetValue(waitNextStep.UserResultProperty, value);
}
}
public static DependencyProperty DataFormProperty = System.Workflow.ComponentModel.DependencyProperty.Register("DataForm", typeof(object), typeof(waitNextStep));
[Description("This is the description which appears in the Property Browser")]
[Category("This is the category which will be displayed in the Property Browser")]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public object DataForm
{
get
{
return ((object)(base.GetValue(waitNextStep.DataFormProperty)));
}
set
{
base.SetValue(waitNextStep.DataFormProperty, value);
}
}
public static DependencyProperty ExternalEventEProperty = DependencyProperty.Register("ExternalEventE", typeof(wxwinter.wf.ExchangeService.NextStepEventArgs), typeof(wxwinter.wf.TestWorkflow.waitNextStep));
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[BrowsableAttribute(true)]
[CategoryAttribute("Parameters")]
public wxwinter.wf.ExchangeService.NextStepEventArgs ExternalEventE
{
get
{
return ((wxwinter.wf.ExchangeService.NextStepEventArgs)(base.GetValue(wxwinter.wf.TestWorkflow.waitNextStep.ExternalEventEProperty)));
}
set
{
base.SetValue(wxwinter.wf.TestWorkflow.waitNextStep.ExternalEventEProperty, value);
}
}
private void handleExternalEventActivity1_Invoked(object sender, ExternalDataEventArgs e)
{
this.DataForm = this.ExternalEventE.DataForm;
this.UserResult = this.ExternalEventE.UserResult;
this.Message = this.ExternalEventE.Message;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -