2 using System.ComponentModel;
3 using System.ComponentModel.Design;
7 using System.Workflow.ComponentModel.Compiler;
8 using System.Workflow.ComponentModel.Serialization;
9 using System.Workflow.ComponentModel;
10 using System.Workflow.ComponentModel.Design;
11 using System.Workflow.Runtime;
12 using System.Workflow.Activities;
13 using System.Workflow.Activities.Rules;
17 public sealed
partial class Workflow1
19 #region Designer generated code
25 [
System.Diagnostics.DebuggerNonUserCode]
28 this.CanModifyActivities =
true;
29 System.Workflow.Runtime.CorrelationToken correlationtoken1 =
new System.Workflow.Runtime.CorrelationToken();
30 System.Workflow.ComponentModel.ActivityBind activitybind1 =
new System.Workflow.ComponentModel.ActivityBind();
31 System.Workflow.ComponentModel.ActivityBind activitybind2 =
new System.Workflow.ComponentModel.ActivityBind();
32 this.onWorkflowActivated1 =
new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
36 correlationtoken1.Name =
"workflowToken";
37 correlationtoken1.OwnerActivityName =
"Workflow1";
38 this.onWorkflowActivated1.CorrelationToken = correlationtoken1;
39 this.onWorkflowActivated1.EventName =
"OnWorkflowActivated";
40 this.onWorkflowActivated1.Name =
"onWorkflowActivated1";
41 this.onWorkflowActivated1.WorkflowId =
new System.Guid(
"00000000-0000-0000-0000-000000000000");
42 activitybind1.Name =
"Workflow1";
43 activitybind1.Path =
"workflowId";
44 activitybind2.Name =
"Workflow1";
45 activitybind2.Path =
"workflowProperties";
46 this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowIdProperty, ((
System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
47 this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((
System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
51 this.Activities.Add(this.onWorkflowActivated1);
52 this.Name =
"Workflow1";
53 this.CanModifyActivities =
false;
void InitializeComponent()
Required method for Designer support - do not modify the contents of this method with the code editor...
Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated onWorkflowActivated1