当前位置: 首页>>代码示例>>C#>>正文


C# ComponentModel.ActivityBind类代码示例

本文整理汇总了C#中System.Workflow.ComponentModel.ActivityBind的典型用法代码示例。如果您正苦于以下问题:C# ActivityBind类的具体用法?C# ActivityBind怎么用?C# ActivityBind使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ActivityBind类属于System.Workflow.ComponentModel命名空间,在下文中一共展示了ActivityBind类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitializeComponent

        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            this.codeActivity1 = new System.Workflow.Activities.CodeActivity();
            this.readResourceActivity1 = new Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity();
            // 
            // codeActivity1
            // 
            this.codeActivity1.Name = "codeActivity1";
            this.codeActivity1.ExecuteCode += new System.EventHandler(this.SendOTPPassword);
            // 
            // readResourceActivity1
            // 
            this.readResourceActivity1.ActorId = new System.Guid("00000000-0000-0000-0000-000000000000");
            this.readResourceActivity1.Name = "readResourceActivity1";
            activitybind1.Name = "SMSPasswordReset";
            activitybind1.Path = "CurrentActor";
            this.readResourceActivity1.ResourceId = new System.Guid("00000000-0000-0000-0000-000000000000");
            this.readResourceActivity1.SelectionAttributes = null;
            this.readResourceActivity1.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity.ResourceProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // SMSPasswordReset
            // 
            this.Activities.Add(this.readResourceActivity1);
            this.Activities.Add(this.codeActivity1);
            this.Name = "SMSPasswordReset";
            this.CanModifyActivities = false;

        }
开发者ID:ikrima,项目名称:Public-Development,代码行数:30,代码来源:SMSPasswordReset.Designer.cs

示例2: InitializeComponent

		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            this.UpdateAccount = new Dropthings.Business.Activities.UserAccountActivities.UpdateAccountActivity();
            this.GetUserGuid = new Dropthings.Business.Activities.GetUserGuidActivity();
            // 
            // UpdateAccount
            // 
            this.UpdateAccount.Name = "UpdateAccount";
            activitybind1.Name = "UpdateAccountWorkflow";
            activitybind1.Path = "Request.Email";
            activitybind2.Name = "GetUserGuid";
            activitybind2.Path = "UserGuid";
            this.UpdateAccount.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("NewEmail", typeof(Dropthings.Business.Activities.UserAccountActivities.UpdateAccountActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.UpdateAccount.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserGuid", typeof(Dropthings.Business.Activities.UserAccountActivities.UpdateAccountActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // GetUserGuid
            // 
            this.GetUserGuid.Name = "GetUserGuid";
            this.GetUserGuid.UserGuid = new System.Guid("00000000-0000-0000-0000-000000000000");
            activitybind3.Name = "UpdateAccountWorkflow";
            activitybind3.Path = "Request.UserName";
            this.GetUserGuid.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserName", typeof(Dropthings.Business.Activities.GetUserGuidActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // UpdateAccountWorkflow
            // 
            this.Activities.Add(this.GetUserGuid);
            this.Activities.Add(this.UpdateAccount);
            this.Name = "UpdateAccountWorkflow";
            this.CanModifyActivities = false;

		}
开发者ID:modulexcite,项目名称:dropthings,代码行数:35,代码来源:UpdateAccountWorkflow.Designer.cs

示例3: InitializeComponent

        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            this.onWorkflowActivated1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
            // 
            // onWorkflowActivated1
            // 
            correlationtoken1.Name = "workflowToken";
            correlationtoken1.OwnerActivityName = "Workflow1";
            this.onWorkflowActivated1.CorrelationToken = correlationtoken1;
            this.onWorkflowActivated1.EventName = "OnWorkflowActivated";
            this.onWorkflowActivated1.Name = "onWorkflowActivated1";
            this.onWorkflowActivated1.WorkflowId = new System.Guid("00000000-0000-0000-0000-000000000000");
            activitybind1.Name = "Workflow1";
            activitybind1.Path = "workflowId";
            activitybind2.Name = "Workflow1";
            activitybind2.Path = "workflowProperties";
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // Workflow1
            // 
            this.Activities.Add(this.onWorkflowActivated1);
            this.Name = "Workflow1";
            this.CanModifyActivities = false;

        }
开发者ID:hereyes,项目名称:SharePoint.DI,代码行数:30,代码来源:Workflow1.Designer.cs

示例4: InitializeComponent

		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding1 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding2 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            this.Return = new RKiss.ActivityLibrary.ReturnActivity();
            // 
            // Return
            // 
            this.Return.ConnectorActivityName = "Workflow5";
            this.Return.Name = "Return";
            activitybind1.Name = "Workflow5";
            activitybind1.Path = "Workflow5_msg1";
            workflowparameterbinding1.ParameterName = "(ReturnValue)";
            workflowparameterbinding1.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.Return.Parameters.Add(workflowparameterbinding1);
            // 
            // Workflow5
            // 
            this.Activities.Add(this.Return);
            this.MethodName = "SayHello";
            this.Name = "Workflow5";
            activitybind2.Name = "/Self";
            activitybind2.Path = "Workflow5_msg1";
            workflowparameterbinding2.ParameterName = "msg";
            workflowparameterbinding2.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            this.Parameters.Add(workflowparameterbinding2);
            this.Type = typeof(InterfaceContract.ITest);
            this.Received += new System.EventHandler(this.Workflow5_Received);
            this.CanModifyActivities = false;

		}
开发者ID:spzenk,项目名称:sfdocsamples,代码行数:34,代码来源:Workflow5.Designer.cs

示例5: InitializeComponent

		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding1 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding2 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding3 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            this.callCreateFullName = new System.Workflow.Activities.CallExternalMethodActivity();
            // 
            // callCreateFullName
            // 
            this.callCreateFullName.InterfaceType = typeof(Castle.Facilities.WorkflowIntegration.Tests.Services.ITestingExternalData);
            this.callCreateFullName.MethodName = "CreateFullName";
            this.callCreateFullName.Name = "callCreateFullName";
            workflowparameterbinding1.ParameterName = "first";
            workflowparameterbinding1.Value = "hello";
            workflowparameterbinding2.ParameterName = "last";
            workflowparameterbinding2.Value = "world";
            activitybind1.Name = "CreateNameWorkflow";
            activitybind1.Path = "FullName";
            workflowparameterbinding3.ParameterName = "(ReturnValue)";
            workflowparameterbinding3.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.callCreateFullName.ParameterBindings.Add(workflowparameterbinding1);
            this.callCreateFullName.ParameterBindings.Add(workflowparameterbinding2);
            this.callCreateFullName.ParameterBindings.Add(workflowparameterbinding3);
            // 
            // CreateNameWorkflow
            // 
            this.Activities.Add(this.callCreateFullName);
            this.Name = "CreateNameWorkflow";
            this.CanModifyActivities = false;

		}
开发者ID:mgagne-atman,项目名称:Projects,代码行数:33,代码来源:CreateNameWorkflow.Designer.cs

示例6: InitializeComponent

        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.Activities.CodeCondition codecondition1 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            this.TraceWakeup = new System.Workflow.Activities.CodeActivity();
            this.Delay = new System.Workflow.Activities.DelayActivity();
            this.ConditionSatisfied = new System.Workflow.Activities.IfElseBranchActivity();
            this.IfActivityExecutionConditionSatisfied = new System.Workflow.Activities.IfElseActivity();
            this.Resolve = new MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.ComponentActivities.ResolveLookups();
            this.ParseExpressions = new System.Workflow.Activities.CodeActivity();
            // 
            // TraceWakeup
            // 
            this.TraceWakeup.Name = "TraceWakeup";
            this.TraceWakeup.ExecuteCode += new System.EventHandler(this.TraceWakeup_ExecuteCode);
            // 
            // Delay
            // 
            this.Delay.Name = "Delay";
            this.Delay.TimeoutDuration = System.TimeSpan.Parse("00:00:00");
            this.Delay.InitializeTimeoutDuration += new System.EventHandler(this.Delay_InitializeTimeoutDuration);
            // 
            // ConditionSatisfied
            // 
            this.ConditionSatisfied.Activities.Add(this.Delay);
            this.ConditionSatisfied.Activities.Add(this.TraceWakeup);
            codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.ActivityExecutionConditionSatisfied_Condition);
            this.ConditionSatisfied.Condition = codecondition1;
            this.ConditionSatisfied.Name = "ConditionSatisfied";
            // 
            // IfActivityExecutionConditionSatisfied
            // 
            this.IfActivityExecutionConditionSatisfied.Activities.Add(this.ConditionSatisfied);
            this.IfActivityExecutionConditionSatisfied.Name = "IfActivityExecutionConditionSatisfied";
            // 
            // Resolve
            // 
            this.Resolve.ComparedRequestId = new System.Guid("00000000-0000-0000-0000-000000000000");
            activitybind1.Name = "AddDelay";
            activitybind1.Path = "ActivityExpressionEvaluator.LookupCache";
            this.Resolve.Name = "Resolve";
            this.Resolve.QueryResults = null;
            this.Resolve.Value = null;
            this.Resolve.SetBinding(MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.ComponentActivities.ResolveLookups.LookupsProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // ParseExpressions
            // 
            this.ParseExpressions.Name = "ParseExpressions";
            this.ParseExpressions.ExecuteCode += new System.EventHandler(this.ParseExpressions_ExecuteCode);
            // 
            // AddDelay
            // 
            this.Activities.Add(this.ParseExpressions);
            this.Activities.Add(this.Resolve);
            this.Activities.Add(this.IfActivityExecutionConditionSatisfied);
            this.Name = "AddDelay";
            this.CanModifyActivities = false;

        }
开发者ID:NileshGhodekar,项目名称:MIMWAL,代码行数:60,代码来源:AddDelay.Designer.cs

示例7: InitializeComponent

        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            this.ReorderAllWidgetsOnSameColumn = new Dropthings.Business.Activities.ReorderWidgetInstancesOnWidgetZoneActivity();
            this.DeleteSpecifiedWidgetInstance = new Dropthings.Business.Activities.DeleteWidgetInstanceActivity();
            this.GetWidgetInstance = new Dropthings.Business.Activities.WidgetActivities.GetWidgetInstanceActivity();
            this.EnsureWidgetInstanceOwnership = new Dropthings.Business.Activities.EnsureOwnerActivity();
            // 
            // ReorderAllWidgetsOnSameColumn
            // 
            this.ReorderAllWidgetsOnSameColumn.Name = "ReorderAllWidgetsOnSameColumn";
            activitybind1.Name = "GetWidgetInstance";
            activitybind1.Path = "WidgetInstance.WidgetZoneId";
            this.ReorderAllWidgetsOnSameColumn.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("WidgetZoneId", typeof(Dropthings.Business.Activities.ReorderWidgetInstancesOnWidgetZoneActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // DeleteSpecifiedWidgetInstance
            // 
            this.DeleteSpecifiedWidgetInstance.Name = "DeleteSpecifiedWidgetInstance";
            activitybind2.Name = "DeleteWidgetInstanceWorkflow";
            activitybind2.Path = "Request.WidgetInstanceId";
            this.DeleteSpecifiedWidgetInstance.SetBinding(Dropthings.Business.Activities.DeleteWidgetInstanceActivity.WidgetInstanceIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // GetWidgetInstance
            // 
            this.GetWidgetInstance.Name = "GetWidgetInstance";
            activitybind3.Name = "DeleteWidgetInstanceWorkflow";
            activitybind3.Path = "WidgetInstance";
            activitybind4.Name = "DeleteWidgetInstanceWorkflow";
            activitybind4.Path = "Request.WidgetInstanceId";
            this.GetWidgetInstance.SetBinding(Dropthings.Business.Activities.WidgetActivities.GetWidgetInstanceActivity.WidgetInstanceIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            this.GetWidgetInstance.SetBinding(Dropthings.Business.Activities.WidgetActivities.GetWidgetInstanceActivity.WidgetInstanceProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // EnsureWidgetInstanceOwnership
            // 
            this.EnsureWidgetInstanceOwnership.Name = "EnsureWidgetInstanceOwnership";
            this.EnsureWidgetInstanceOwnership.PageId = 0;
            activitybind5.Name = "DeleteWidgetInstanceWorkflow";
            activitybind5.Path = "Request.UserName";
            activitybind6.Name = "DeleteWidgetInstanceWorkflow";
            activitybind6.Path = "Request.WidgetInstanceId";
            this.EnsureWidgetInstanceOwnership.WidgetZoneId = 0;
            this.EnsureWidgetInstanceOwnership.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("WidgetInstanceId", typeof(Dropthings.Business.Activities.EnsureOwnerActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.EnsureWidgetInstanceOwnership.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserName", typeof(Dropthings.Business.Activities.EnsureOwnerActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            // 
            // DeleteWidgetInstanceWorkflow
            // 
            this.Activities.Add(this.EnsureWidgetInstanceOwnership);
            this.Activities.Add(this.GetWidgetInstance);
            this.Activities.Add(this.DeleteSpecifiedWidgetInstance);
            this.Activities.Add(this.ReorderAllWidgetsOnSameColumn);
            this.Name = "DeleteWidgetInstanceWorkflow";
            this.CanModifyActivities = false;

        }
开发者ID:modulexcite,项目名称:dropthings,代码行数:60,代码来源:DeleteWidgetInstanceWorkflow.Designer.cs

示例8: InitializeComponent

		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            this.ChangePageLayout = new DashboardBusiness.Activities.ChangePageLayoutActivity();
            this.GetUserGuid = new DashboardBusiness.Activities.GetUserGuidActivity();
            // 
            // ChangePageLayout
            // 
            activitybind1.Name = "ModifyPageLayoutWorkflow";
            activitybind1.Path = "LayoutType";
            this.ChangePageLayout.Name = "ChangePageLayout";
            activitybind2.Name = "ModifyPageLayoutWorkflow";
            activitybind2.Path = "PageID";
            this.ChangePageLayout.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("LayoutType", typeof(DashboardBusiness.Activities.ChangePageLayoutActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.ChangePageLayout.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("PageId", typeof(DashboardBusiness.Activities.ChangePageLayoutActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // GetUserGuid
            // 
            this.GetUserGuid.Name = "GetUserGuid";
            this.GetUserGuid.UserGuid = new System.Guid("00000000-0000-0000-0000-000000000000");
            activitybind3.Name = "ModifyPageLayoutWorkflow";
            activitybind3.Path = "UserName";
            this.GetUserGuid.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserName", typeof(DashboardBusiness.Activities.GetUserGuidActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // ModifyPageLayoutWorkflow
            // 
            this.Activities.Add(this.GetUserGuid);
            this.Activities.Add(this.ChangePageLayout);
            this.Name = "ModifyPageLayoutWorkflow";
            this.CanModifyActivities = false;

		}
开发者ID:haimon74,项目名称:KanNaim,代码行数:35,代码来源:ModifyPageLayoutWorkflow.Designer.cs

示例9: InitializeComponent

		private void InitializeComponent()
		{
         this.CanModifyActivities = true;
         System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
         this.msmqReceiveActivity1 = new Winterdom.Workflow.Activities.Msmq.MsmqReceiveActivity();
         this.terminateActivity1 = new System.Workflow.ComponentModel.TerminateActivity();
         activitybind1.Name = "Workflow1";
         activitybind1.Path = "Message";
         // 
         // msmqReceiveActivity1
         // 
         this.msmqReceiveActivity1.Name = "msmqReceiveActivity1";
         this.msmqReceiveActivity1.Queue = "\\\\.\\Private$\\QUeue1";
         this.msmqReceiveActivity1.SetBinding(Winterdom.Workflow.Activities.Msmq.MsmqBaseReceiveActivity.MessageReceivedProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
         // 
         // terminateActivity1
         // 
         this.terminateActivity1.Name = "terminateActivity1";
         // 
         // Workflow1
         // 
         this.Activities.Add(this.terminateActivity1);
         this.Activities.Add(this.msmqReceiveActivity1);
         this.Name = "Workflow1";
         this.CanModifyActivities = false;

		}
开发者ID:tomasr,项目名称:msmqactivities,代码行数:27,代码来源:Workflow1.Designer.cs

示例10: InitializeComponent

        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            this.logToHistoryFirstMailSended = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.sendFirstEmail = new Microsoft.SharePoint.WorkflowActions.SendEmail();
            this.onWorkflowActivated1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
            // 
            // logToHistoryFirstMailSended
            // 
            this.logToHistoryFirstMailSended.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logToHistoryFirstMailSended.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            this.logToHistoryFirstMailSended.HistoryDescription = "";
            this.logToHistoryFirstMailSended.HistoryOutcome = "";
            this.logToHistoryFirstMailSended.Name = "logToHistoryFirstMailSended";
            this.logToHistoryFirstMailSended.OtherData = "";
            this.logToHistoryFirstMailSended.UserId = -1;
            this.logToHistoryFirstMailSended.MethodInvoking += new System.EventHandler(this.logToHistoryFirstMailSended_MethodInvoking);
            // 
            // sendFirstEmail
            // 
            this.sendFirstEmail.BCC = null;
            this.sendFirstEmail.Body = null;
            this.sendFirstEmail.CC = null;
            correlationtoken1.Name = "workflowToken";
            correlationtoken1.OwnerActivityName = "PlugableApprovalFlow";
            this.sendFirstEmail.CorrelationToken = correlationtoken1;
            this.sendFirstEmail.From = null;
            this.sendFirstEmail.Headers = null;
            this.sendFirstEmail.IncludeStatus = false;
            this.sendFirstEmail.Name = "sendFirstEmail";
            this.sendFirstEmail.Subject = null;
            this.sendFirstEmail.To = null;
            this.sendFirstEmail.MethodInvoking += new System.EventHandler(this.sendFirstEmail_MethodInvoking);
            activitybind2.Name = "PlugableApprovalFlow";
            activitybind2.Path = "workflowId";
            // 
            // onWorkflowActivated1
            // 
            this.onWorkflowActivated1.CorrelationToken = correlationtoken1;
            this.onWorkflowActivated1.EventName = "OnWorkflowActivated";
            this.onWorkflowActivated1.Name = "onWorkflowActivated1";
            activitybind1.Name = "PlugableApprovalFlow";
            activitybind1.Path = "workflowProperties";
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // PlugableApprovalFlow
            // 
            this.Activities.Add(this.onWorkflowActivated1);
            this.Activities.Add(this.sendFirstEmail);
            this.Activities.Add(this.logToHistoryFirstMailSended);
            this.Name = "PlugableApprovalFlow";
            this.CanModifyActivities = false;

        }
开发者ID:davidsellen,项目名称:PlugableFlowProcess,代码行数:58,代码来源:PlugableApprovalFlow.Designer.cs

示例11: InitializeComponent

        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            this.SaveOrder = new Commerce.Pipelines.WindowsWorkflow.Activities.SaveOrderActivity();
            this.SetAsCharged = new Commerce.Pipelines.Activities.SetOrderStatusActivity();
            this.ChargePayment = new Commerce.Pipelines.WindowsWorkflow.Activities.ChargePaymentActivity();
            // 
            // SaveOrder
            // 
            activitybind1.Name = "ChargeWorkflow";
            activitybind1.Path = "CustomerOrder";
            this.SaveOrder.Name = "SaveOrder";
            activitybind2.Name = "ChargeWorkflow";
            activitybind2.Path = "OrderServiceInterface";
            this.SaveOrder.SetBinding(Commerce.Pipelines.WindowsWorkflow.Activities.SaveOrderActivity.CustomerOrderProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.SaveOrder.SetBinding(Commerce.Pipelines.WindowsWorkflow.Activities.SaveOrderActivity.OrderServiceInterfaceProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // SetAsCharged
            // 
            activitybind3.Name = "ChargeWorkflow";
            activitybind3.Path = "CustomerOrder";
            this.SetAsCharged.CustomerOrderStatus = Commerce.Data.OrderStatus.Charged;
            this.SetAsCharged.Name = "SetAsCharged";
            activitybind4.Name = "ChargeWorkflow";
            activitybind4.Path = "OrderServiceInterface";
            this.SetAsCharged.SetBinding(Commerce.Pipelines.Activities.SetOrderStatusActivity.OrderServiceInterfaceProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            this.SetAsCharged.SetBinding(Commerce.Pipelines.Activities.SetOrderStatusActivity.CustomerOrderProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // ChargePayment
            // 
            activitybind5.Name = "ChargeWorkflow";
            activitybind5.Path = "CustomerOrder";
            this.ChargePayment.Name = "ChargePayment";
            activitybind6.Name = "ChargeWorkflow";
            activitybind6.Path = "OrderServiceInterface";
            activitybind7.Name = "ChargeWorkflow";
            activitybind7.Path = "PaymentServiceInterface";
            this.ChargePayment.SetBinding(Commerce.Pipelines.WindowsWorkflow.Activities.ChargePaymentActivity.CustomerOrderProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            this.ChargePayment.SetBinding(Commerce.Pipelines.WindowsWorkflow.Activities.ChargePaymentActivity.OrderServiceInterfaceProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.ChargePayment.SetBinding(Commerce.Pipelines.WindowsWorkflow.Activities.ChargePaymentActivity.PaymentGatewayProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            // 
            // ChargeWorkflow
            // 
            this.Activities.Add(this.ChargePayment);
            this.Activities.Add(this.SetAsCharged);
            this.Activities.Add(this.SaveOrder);
            this.Name = "ChargeWorkflow";
            this.CanModifyActivities = false;

        }
开发者ID:christattum,项目名称:MVC-Storefront,代码行数:57,代码来源:ChargeWorkflow.Designer.cs

示例12: InitializeComponent

 private void InitializeComponent()
 {
     this.CanModifyActivities = true;
     System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
     System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
     System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
     System.Workflow.Activities.CodeCondition codecondition1 = new System.Workflow.Activities.CodeCondition();
     this.completedTask = new System.Workflow.Activities.CodeActivity();
     this.taskApprovalActivity1 = new TVMCORP.TVS.WORKFLOWS.Activities.TaskApprovalActivity();
     this.initialData = new System.Workflow.Activities.CodeActivity();
     this.sequenceActivity1 = new System.Workflow.Activities.SequenceActivity();
     this.whileActivity1 = new System.Workflow.Activities.WhileActivity();
     //
     // completedTask
     //
     this.completedTask.Name = "completedTask";
     this.completedTask.ExecuteCode += new System.EventHandler(this.completedTask_ExecuteCode);
     //
     // taskApprovalActivity1
     //
     activitybind1.Name = "TaskApproval";
     activitybind1.Path = "TaskInfo";
     this.taskApprovalActivity1.Name = "taskApprovalActivity1";
     activitybind2.Name = "TaskApproval";
     activitybind2.Path = "Parameter";
     activitybind3.Name = "TaskApproval";
     activitybind3.Path = "WorkflowProperties";
     this.taskApprovalActivity1.SetBinding(TVMCORP.TVS.WORKFLOWS.Activities.TaskApprovalActivity.ParameterProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
     this.taskApprovalActivity1.SetBinding(TVMCORP.TVS.WORKFLOWS.Activities.TaskApprovalActivity.ApprovalInfoTaskProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
     this.taskApprovalActivity1.SetBinding(TVMCORP.TVS.WORKFLOWS.Activities.TaskApprovalActivity.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
     //
     // initialData
     //
     this.initialData.Name = "initialData";
     this.initialData.ExecuteCode += new System.EventHandler(this.initialData_ExecuteCode);
     //
     // sequenceActivity1
     //
     this.sequenceActivity1.Activities.Add(this.initialData);
     this.sequenceActivity1.Activities.Add(this.taskApprovalActivity1);
     this.sequenceActivity1.Activities.Add(this.completedTask);
     this.sequenceActivity1.Name = "sequenceActivity1";
     //
     // whileActivity1
     //
     this.whileActivity1.Activities.Add(this.sequenceActivity1);
     codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.havePreviousTask);
     this.whileActivity1.Condition = codecondition1;
     this.whileActivity1.Name = "whileActivity1";
     //
     // TaskApproval
     //
     this.Activities.Add(this.whileActivity1);
     this.Name = "TaskApproval";
     this.CanModifyActivities = false;
 }
开发者ID:chutinhha,项目名称:tvmcorptvs,代码行数:56,代码来源:TaskApproval.designer.cs

示例13: InitializeComponent

		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            this.SetNewPageAsCurrent = new DashboardBusiness.Activities.SetCurrentPageActivity();
            this.CreateNewPage = new DashboardBusiness.Activities.CreateNewPageActivity();
            this.GetUserGuid = new DashboardBusiness.Activities.GetUserGuidActivity();
            // 
            // SetNewPageAsCurrent
            // 
            this.SetNewPageAsCurrent.Name = "SetNewPageAsCurrent";
            activitybind1.Name = "CreateNewPage";
            activitybind1.Path = "NewPageId";
            activitybind2.Name = "GetUserGuid";
            activitybind2.Path = "UserGuid";
            this.SetNewPageAsCurrent.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("PageId", typeof(DashboardBusiness.Activities.SetCurrentPageActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.SetNewPageAsCurrent.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserGuid", typeof(DashboardBusiness.Activities.SetCurrentPageActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // CreateNewPage
            // 
            activitybind3.Name = "AddNewTabWorkflow";
            activitybind3.Path = "LayoutType";
            this.CreateNewPage.Name = "CreateNewPage";
            activitybind4.Name = "AddNewTabWorkflow";
            activitybind4.Path = "NewPage";
            this.CreateNewPage.NewPageId = 0;
            this.CreateNewPage.Title = "New Page";
            activitybind5.Name = "GetUserGuid";
            activitybind5.Path = "UserGuid";
            this.CreateNewPage.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserId", typeof(DashboardBusiness.Activities.CreateNewPageActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            this.CreateNewPage.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("LayoutType", typeof(DashboardBusiness.Activities.CreateNewPageActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            this.CreateNewPage.SetBinding(DashboardBusiness.Activities.CreateNewPageActivity.NewPageProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            // 
            // GetUserGuid
            // 
            this.GetUserGuid.Name = "GetUserGuid";
            this.GetUserGuid.UserGuid = new System.Guid("00000000-0000-0000-0000-000000000000");
            activitybind6.Name = "AddNewTabWorkflow";
            activitybind6.Path = "UserName";
            this.GetUserGuid.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserName", typeof(DashboardBusiness.Activities.GetUserGuidActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            // 
            // AddNewTabWorkflow
            // 
            this.Activities.Add(this.GetUserGuid);
            this.Activities.Add(this.CreateNewPage);
            this.Activities.Add(this.SetNewPageAsCurrent);
            this.Name = "AddNewTabWorkflow";
            this.CanModifyActivities = false;

		}
开发者ID:haimon74,项目名称:KanNaim,代码行数:55,代码来源:AddNewTabWorkflow.Designer.cs

示例14: InitializeComponent

        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            this.logToHistoryListActivity1 = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.codeActivity = new System.Workflow.Activities.CodeActivity();
            this.onWorkflowActivated1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
            // 
            // logToHistoryListActivity1
            // 
            this.logToHistoryListActivity1.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logToHistoryListActivity1.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            activitybind1.Name = "Workflow1";
            activitybind1.Path = "logHistoryDescriptions";
            activitybind2.Name = "Workflow1";
            activitybind2.Path = "logHistoryOutcome";
            this.logToHistoryListActivity1.Name = "logToHistoryListActivity1";
            this.logToHistoryListActivity1.OtherData = "";
            this.logToHistoryListActivity1.UserId = -1;
            this.logToHistoryListActivity1.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.logToHistoryListActivity1.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // codeActivity
            // 
            this.codeActivity.Name = "codeActivity";
            this.codeActivity.ExecuteCode += new System.EventHandler(this.codeActivity_ExecuteCode);
            activitybind4.Name = "Workflow1";
            activitybind4.Path = "workflowId";
            // 
            // onWorkflowActivated1
            // 
            correlationtoken1.Name = "SampleWorkflowToken";
            correlationtoken1.OwnerActivityName = "Workflow1";
            this.onWorkflowActivated1.CorrelationToken = correlationtoken1;
            this.onWorkflowActivated1.EventName = "OnWorkflowActivated";
            this.onWorkflowActivated1.Name = "onWorkflowActivated1";
            activitybind3.Name = "Workflow1";
            activitybind3.Path = "workflowProperties";
            this.onWorkflowActivated1.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.onWorkflowActivated1_Invoked);
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            this.onWorkflowActivated1.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // Workflow1
            // 
            this.Activities.Add(this.onWorkflowActivated1);
            this.Activities.Add(this.codeActivity);
            this.Activities.Add(this.logToHistoryListActivity1);
            this.Name = "Workflow1";
            this.CanModifyActivities = false;

        }
开发者ID:porter1130,项目名称:MyTest,代码行数:55,代码来源:Workflow1.Designer.cs

示例15: InitializeComponent

		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            this.reorderWidgetInstanceOnColumnActivity1 = new DashboardBusiness.Activities.ReorderWidgetInstanceOnColumnActivity();
            this.deleteWidgetInstanceActivity1 = new DashboardBusiness.Activities.DeleteWidgetInstanceActivity();
            this.EnsureWidgetOwner = new DashboardBusiness.Activities.EnsureOwnerActivity();
            // 
            // reorderWidgetInstanceOnColumnActivity1
            // 
            activitybind1.Name = "DeleteWidgetInstanceWorkflow";
            activitybind1.Path = "WidgetInstance.ColumnNo";
            this.reorderWidgetInstanceOnColumnActivity1.Name = "reorderWidgetInstanceOnColumnActivity1";
            activitybind2.Name = "DeleteWidgetInstanceWorkflow";
            activitybind2.Path = "WidgetInstance.PageId";
            this.reorderWidgetInstanceOnColumnActivity1.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("PageId", typeof(DashboardBusiness.Activities.ReorderWidgetInstanceOnColumnActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            this.reorderWidgetInstanceOnColumnActivity1.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("ColumnNo", typeof(DashboardBusiness.Activities.ReorderWidgetInstanceOnColumnActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // deleteWidgetInstanceActivity1
            // 
            this.deleteWidgetInstanceActivity1.Name = "deleteWidgetInstanceActivity1";
            activitybind3.Name = "DeleteWidgetInstanceWorkflow";
            activitybind3.Path = "WidgetInstance";
            this.deleteWidgetInstanceActivity1.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("WidgetInstance", typeof(DashboardBusiness.Activities.DeleteWidgetInstanceActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // EnsureWidgetOwner
            // 
            this.EnsureWidgetOwner.Name = "EnsureWidgetOwner";
            activitybind4.Name = "DeleteWidgetInstanceWorkflow";
            activitybind4.Path = "WidgetInstance.PageId";
            activitybind5.Name = "DeleteWidgetInstanceWorkflow";
            activitybind5.Path = "UserName";
            activitybind6.Name = "DeleteWidgetInstanceWorkflow";
            activitybind6.Path = "WidgetInstance.Id";
            this.EnsureWidgetOwner.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("UserName", typeof(DashboardBusiness.Activities.EnsureOwnerActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            this.EnsureWidgetOwner.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("WidgetInstanceId", typeof(DashboardBusiness.Activities.EnsureOwnerActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.EnsureWidgetOwner.SetBinding(System.Workflow.ComponentModel.DependencyProperty.FromName("PageId", typeof(DashboardBusiness.Activities.EnsureOwnerActivity)), ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            // 
            // DeleteWidgetInstanceWorkflow
            // 
            this.Activities.Add(this.EnsureWidgetOwner);
            this.Activities.Add(this.deleteWidgetInstanceActivity1);
            this.Activities.Add(this.reorderWidgetInstanceOnColumnActivity1);
            this.Name = "DeleteWidgetInstanceWorkflow";
            this.CanModifyActivities = false;

		}
开发者ID:haimon74,项目名称:KanNaim,代码行数:52,代码来源:DeleteWidgetInstanceWorkflow.Designer.cs


注:本文中的System.Workflow.ComponentModel.ActivityBind类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。