📄 workflow1.designer.cs
字号:
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
namespace simpleWorkflow
{
public sealed partial class Workflow1 : SequentialWorkflow
{
#region Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Workflow.Activities.CodeCondition codecondition1 = new System.Workflow.Activities.CodeCondition();
System.Workflow.ComponentModel.ParameterDeclaration orderAmount = new System.Workflow.ComponentModel.ParameterDeclaration();
System.Workflow.ComponentModel.ParameterDeclaration validOrder = new System.Workflow.ComponentModel.ParameterDeclaration();
this.ifElse1 = new System.Workflow.Activities.IfElse();
this.ifElseBranch1 = new System.Workflow.Activities.IfElseBranch();
this.ifElseBranch2 = new System.Workflow.Activities.IfElseBranch();
this.code1 = new System.Workflow.Activities.Code();
this.delay2 = new System.Workflow.Activities.Delay();
this.code2 = new System.Workflow.Activities.Code();
this.delay1 = new System.Workflow.Activities.Delay();
this.eventHandlers1 = new System.Workflow.Activities.EventHandlers();
this.compensationHandler1 = new System.Workflow.Activities.CompensationHandler();
this.exceptionHandlers1 = new System.Workflow.Activities.ExceptionHandlers();
//
// ifElse1
//
this.ifElse1.Activities.Add(this.ifElseBranch1);
this.ifElse1.Activities.Add(this.ifElseBranch2);
this.ifElse1.ID = "ifElse1";
//
// ifElseBranch1
//
this.ifElseBranch1.Activities.Add(this.code1);
this.ifElseBranch1.Activities.Add(this.delay2);
codecondition1.Condition += new System.Workflow.Activities.ConditionalExpression(this.largeOrder);
this.ifElseBranch1.Condition = codecondition1;
this.ifElseBranch1.ID = "ifElseBranch1";
//
// ifElseBranch2
//
this.ifElseBranch2.Activities.Add(this.code2);
this.ifElseBranch2.Activities.Add(this.delay1);
this.ifElseBranch2.Condition = null;
this.ifElseBranch2.ID = "ifElseBranch2";
//
// code1
//
this.code1.ID = "code1";
this.code1.ExecuteCode += new System.EventHandler(this.code1_ExecuteCode);
//
// delay2
//
this.delay2.ID = "delay2";
this.delay2.TimeoutDuration = System.TimeSpan.Parse("00:00:10");
//
// code2
//
this.code2.ID = "code2";
this.code2.ExecuteCode += new System.EventHandler(this.code2_ExecuteCode);
//
// delay1
//
this.delay1.ID = "delay1";
this.delay1.TimeoutDuration = System.TimeSpan.Parse("00:00:05");
//
// eventHandlers1
//
this.eventHandlers1.ID = "eventHandlers1";
//
// compensationHandler1
//
this.compensationHandler1.ID = "compensationHandler1";
//
// exceptionHandlers1
//
this.exceptionHandlers1.ID = "exceptionHandlers1";
//
// Workflow1
//
this.Activities.Add(this.ifElse1);
this.Activities.Add(this.eventHandlers1);
this.Activities.Add(this.compensationHandler1);
this.Activities.Add(this.exceptionHandlers1);
this.DynamicUpdateCondition = null;
this.ID = "Workflow1";
orderAmount.Direction = System.Workflow.ComponentModel.ParameterDirection.In;
orderAmount.Name = "orderAmount";
orderAmount.Type = typeof(int);
orderAmount.Value = null;
validOrder.Direction = System.Workflow.ComponentModel.ParameterDirection.Out;
validOrder.Name = "validOrder";
validOrder.Type = typeof(string);
validOrder.Value = null;
this.Parameters.Add(orderAmount);
this.Parameters.Add(validOrder);
}
#endregion
private Delay delay2;
private IfElse ifElse1;
private IfElseBranch ifElseBranch1;
private IfElseBranch ifElseBranch2;
private Code code2;
private Delay delay1;
private EventHandlers eventHandlers1;
private CompensationHandler compensationHandler1;
private ExceptionHandlers exceptionHandlers1;
private Code code1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -