Click here to Skip to main content
11,436,156 members (61,931 online)
Click here to Skip to main content
Add your own
alternative version

Navigational Workflows Unleashed in WWF/ASP.NET 3.5

, 21 Oct 2008 CPOL
Case-study on the internals of a Navigational Workflow engine for a fictional dating website called “World Wide Dating”.
datesite.zip
DateSite
App_Data
bin
database setup procedure
DateSite.csproj.user
Global.asax
images
complete.png
critical.png
logo2.png
warning.png
Profile.dbml
Profile.dbml.layout
Properties
Service References
NavigationWorkflow
bin
NavigationWorkflow.layout
Properties
Settings.settings
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 DateSiteNavigation
{
    partial class NavigationWorkflow
    {
        #region Designer generated code
        
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        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();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding3 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding4 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding5 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.Activities.CodeCondition codecondition1 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.Activities.CodeCondition codecondition2 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.Activities.CodeCondition codecondition3 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.Activities.CodeCondition codecondition4 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.Activities.CodeCondition codecondition5 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding6 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding7 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding8 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding9 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding10 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding11 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding12 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding13 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding14 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding15 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind9 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding16 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding17 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind10 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding18 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding19 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind11 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding20 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind12 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding21 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind13 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding22 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind14 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding23 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind15 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding24 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            System.Workflow.ComponentModel.ActivityBind activitybind16 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.WorkflowParameterBinding workflowparameterbinding25 = new System.Workflow.ComponentModel.WorkflowParameterBinding();
            this.callSkipToCompleteOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.setSkipToComplete = new System.Workflow.Activities.SetStateActivity();
            this.callSkipToInterestsOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.setSkipToInterests = new System.Workflow.Activities.SetStateActivity();
            this.callSkipToLifestyleOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.setSkipToLifestyle = new System.Workflow.Activities.SetStateActivity();
            this.callSkipToAppearanceOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.setSkipToAppearance = new System.Workflow.Activities.SetStateActivity();
            this.callSkipToBasicsOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.setSkipToBasics = new System.Workflow.Activities.SetStateActivity();
            this.elseCannotSkipToComplete = new System.Workflow.Activities.IfElseBranchActivity();
            this.ifCanSkipToComplete = new System.Workflow.Activities.IfElseBranchActivity();
            this.elseCannotSkipToInterests = new System.Workflow.Activities.IfElseBranchActivity();
            this.ifCanSkipToInterests = new System.Workflow.Activities.IfElseBranchActivity();
            this.elseCannotSkipToLifestyle = new System.Workflow.Activities.IfElseBranchActivity();
            this.ifCanSkipToLifestyle = new System.Workflow.Activities.IfElseBranchActivity();
            this.elseCannotSkipToAppearance = new System.Workflow.Activities.IfElseBranchActivity();
            this.ifCanSkipToAppearance = new System.Workflow.Activities.IfElseBranchActivity();
            this.elseCannotSkipToBasicsState = new System.Workflow.Activities.IfElseBranchActivity();
            this.ifCanSkipToBasicsState = new System.Workflow.Activities.IfElseBranchActivity();
            this.setCompletePreviousState = new System.Workflow.Activities.SetStateActivity();
            this.handleCompletePrevious = new System.Workflow.Activities.HandleExternalEventActivity();
            this.callCompleteStateOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.setLifestyleNextState = new System.Workflow.Activities.SetStateActivity();
            this.handleLifestyleNext = new System.Workflow.Activities.HandleExternalEventActivity();
            this.setLifestylePreviousState = new System.Workflow.Activities.SetStateActivity();
            this.handleLifestylePrevious = new System.Workflow.Activities.HandleExternalEventActivity();
            this.callLifestyleStateOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.setAppearanceNextState = new System.Workflow.Activities.SetStateActivity();
            this.handleAppearanceNext = new System.Workflow.Activities.HandleExternalEventActivity();
            this.setAppearancePreviousState = new System.Workflow.Activities.SetStateActivity();
            this.handleAppearancePrevious = new System.Workflow.Activities.HandleExternalEventActivity();
            this.callAppearanceStateOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.setInterestsNextState = new System.Workflow.Activities.SetStateActivity();
            this.handleInterestsNext = new System.Workflow.Activities.HandleExternalEventActivity();
            this.setInterestsPreviousState = new System.Workflow.Activities.SetStateActivity();
            this.handleInterestsPrevious = new System.Workflow.Activities.HandleExternalEventActivity();
            this.callInterestsStateOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.setBasicsNextState = new System.Workflow.Activities.SetStateActivity();
            this.handleBasicsNext = new System.Workflow.Activities.HandleExternalEventActivity();
            this.callBasicsStateOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.setInitialNextState = new System.Workflow.Activities.SetStateActivity();
            this.handleInitialNext = new System.Workflow.Activities.HandleExternalEventActivity();
            this.callInitialStateOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.codeInitializeInitialState = new System.Workflow.Activities.CodeActivity();
            this.ifElseActivity5 = new System.Workflow.Activities.IfElseActivity();
            this.handleSkipToComplete = new System.Workflow.Activities.HandleExternalEventActivity();
            this.ifElseActivity4 = new System.Workflow.Activities.IfElseActivity();
            this.handleSkipToInterests = new System.Workflow.Activities.HandleExternalEventActivity();
            this.ifElseActivity3 = new System.Workflow.Activities.IfElseActivity();
            this.handleSkipToLifestyle = new System.Workflow.Activities.HandleExternalEventActivity();
            this.ifElseActivity2 = new System.Workflow.Activities.IfElseActivity();
            this.handleSkipToAppearance = new System.Workflow.Activities.HandleExternalEventActivity();
            this.ifElseActivity1 = new System.Workflow.Activities.IfElseActivity();
            this.handleSkipToBasics = new System.Workflow.Activities.HandleExternalEventActivity();
            this.callErrorOnPageToGoTo = new System.Workflow.Activities.CallExternalMethodActivity();
            this.handleError = new System.Workflow.Activities.HandleExternalEventActivity();
            this.callOutgoingSynchronize = new System.Workflow.Activities.CallExternalMethodActivity();
            this.handleIncomingSynchronize = new System.Workflow.Activities.HandleExternalEventActivity();
            this.callRehydrated = new System.Workflow.Activities.CallExternalMethodActivity();
            this.handleRehydrated = new System.Workflow.Activities.HandleExternalEventActivity();
            this.eventCompleteStatePrevious = new System.Workflow.Activities.EventDrivenActivity();
            this.initializeCompleteState = new System.Workflow.Activities.StateInitializationActivity();
            this.eventLifestyleStateNext = new System.Workflow.Activities.EventDrivenActivity();
            this.eventLifestyleStatePrevious = new System.Workflow.Activities.EventDrivenActivity();
            this.initializeLifestyleState = new System.Workflow.Activities.StateInitializationActivity();
            this.eventAppearanceStateNext = new System.Workflow.Activities.EventDrivenActivity();
            this.eventAppearanceStatePrevious = new System.Workflow.Activities.EventDrivenActivity();
            this.initializeAppearanceState = new System.Workflow.Activities.StateInitializationActivity();
            this.eventInterestsStateNext = new System.Workflow.Activities.EventDrivenActivity();
            this.eventInterestsStatePrevious = new System.Workflow.Activities.EventDrivenActivity();
            this.initializeInterestsState = new System.Workflow.Activities.StateInitializationActivity();
            this.eventBasicsStateNext = new System.Workflow.Activities.EventDrivenActivity();
            this.initializeBasicsState = new System.Workflow.Activities.StateInitializationActivity();
            this.eventInitialStateNext = new System.Workflow.Activities.EventDrivenActivity();
            this.initializeInitialState = new System.Workflow.Activities.StateInitializationActivity();
            this.eventSkipToComplete = new System.Workflow.Activities.EventDrivenActivity();
            this.eventSkipToInterests = new System.Workflow.Activities.EventDrivenActivity();
            this.eventSkipToLifestyle = new System.Workflow.Activities.EventDrivenActivity();
            this.eventSkipToAppearance = new System.Workflow.Activities.EventDrivenActivity();
            this.eventSkipToBasics = new System.Workflow.Activities.EventDrivenActivity();
            this.eventError = new System.Workflow.Activities.EventDrivenActivity();
            this.eventIncomingSynchronize = new System.Workflow.Activities.EventDrivenActivity();
            this.eventRehydrated = new System.Workflow.Activities.EventDrivenActivity();
            this.CompleteState = new System.Workflow.Activities.StateActivity();
            this.LifestyleState = new System.Workflow.Activities.StateActivity();
            this.AppearanceState = new System.Workflow.Activities.StateActivity();
            this.InterestsState = new System.Workflow.Activities.StateActivity();
            this.BasicsState = new System.Workflow.Activities.StateActivity();
            this.InitialState = new System.Workflow.Activities.StateActivity();
            // 
            // callSkipToCompleteOnPageToGoTo
            // 
            this.callSkipToCompleteOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callSkipToCompleteOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callSkipToCompleteOnPageToGoTo.Name = "callSkipToCompleteOnPageToGoTo";
            activitybind1.Name = "NavigationWorkflow";
            activitybind1.Path = "PageToGoToEventArgs";
            workflowparameterbinding1.ParameterName = "args";
            workflowparameterbinding1.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.callSkipToCompleteOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding1);
            this.callSkipToCompleteOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeCannotSkipToStateErrorMessage);
            // 
            // setSkipToComplete
            // 
            this.setSkipToComplete.Name = "setSkipToComplete";
            this.setSkipToComplete.TargetStateName = "CompleteState";
            // 
            // callSkipToInterestsOnPageToGoTo
            // 
            this.callSkipToInterestsOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callSkipToInterestsOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callSkipToInterestsOnPageToGoTo.Name = "callSkipToInterestsOnPageToGoTo";
            activitybind2.Name = "NavigationWorkflow";
            activitybind2.Path = "PageToGoToEventArgs";
            workflowparameterbinding2.ParameterName = "args";
            workflowparameterbinding2.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            this.callSkipToInterestsOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding2);
            this.callSkipToInterestsOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeCannotSkipToStateErrorMessage);
            // 
            // setSkipToInterests
            // 
            this.setSkipToInterests.Name = "setSkipToInterests";
            this.setSkipToInterests.TargetStateName = "InterestsState";
            // 
            // callSkipToLifestyleOnPageToGoTo
            // 
            this.callSkipToLifestyleOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callSkipToLifestyleOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callSkipToLifestyleOnPageToGoTo.Name = "callSkipToLifestyleOnPageToGoTo";
            activitybind3.Name = "NavigationWorkflow";
            activitybind3.Path = "PageToGoToEventArgs";
            workflowparameterbinding3.ParameterName = "args";
            workflowparameterbinding3.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            this.callSkipToLifestyleOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding3);
            this.callSkipToLifestyleOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeCannotSkipToStateErrorMessage);
            // 
            // setSkipToLifestyle
            // 
            this.setSkipToLifestyle.Name = "setSkipToLifestyle";
            this.setSkipToLifestyle.TargetStateName = "LifestyleState";
            // 
            // callSkipToAppearanceOnPageToGoTo
            // 
            this.callSkipToAppearanceOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callSkipToAppearanceOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callSkipToAppearanceOnPageToGoTo.Name = "callSkipToAppearanceOnPageToGoTo";
            activitybind4.Name = "NavigationWorkflow";
            activitybind4.Path = "PageToGoToEventArgs";
            workflowparameterbinding4.ParameterName = "args";
            workflowparameterbinding4.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            this.callSkipToAppearanceOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding4);
            this.callSkipToAppearanceOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeCannotSkipToStateErrorMessage);
            // 
            // setSkipToAppearance
            // 
            this.setSkipToAppearance.Name = "setSkipToAppearance";
            this.setSkipToAppearance.TargetStateName = "AppearanceState";
            // 
            // callSkipToBasicsOnPageToGoTo
            // 
            this.callSkipToBasicsOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callSkipToBasicsOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callSkipToBasicsOnPageToGoTo.Name = "callSkipToBasicsOnPageToGoTo";
            activitybind5.Name = "NavigationWorkflow";
            activitybind5.Path = "PageToGoToEventArgs";
            workflowparameterbinding5.ParameterName = "args";
            workflowparameterbinding5.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            this.callSkipToBasicsOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding5);
            this.callSkipToBasicsOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeCannotSkipToStateErrorMessage);
            // 
            // setSkipToBasics
            // 
            this.setSkipToBasics.Name = "setSkipToBasics";
            this.setSkipToBasics.TargetStateName = "BasicsState";
            // 
            // elseCannotSkipToComplete
            // 
            this.elseCannotSkipToComplete.Activities.Add(this.callSkipToCompleteOnPageToGoTo);
            this.elseCannotSkipToComplete.Name = "elseCannotSkipToComplete";
            // 
            // ifCanSkipToComplete
            // 
            this.ifCanSkipToComplete.Activities.Add(this.setSkipToComplete);
            codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.CanSkipToCompleteState);
            this.ifCanSkipToComplete.Condition = codecondition1;
            this.ifCanSkipToComplete.Name = "ifCanSkipToComplete";
            // 
            // elseCannotSkipToInterests
            // 
            this.elseCannotSkipToInterests.Activities.Add(this.callSkipToInterestsOnPageToGoTo);
            this.elseCannotSkipToInterests.Name = "elseCannotSkipToInterests";
            // 
            // ifCanSkipToInterests
            // 
            this.ifCanSkipToInterests.Activities.Add(this.setSkipToInterests);
            codecondition2.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.CanSkipToInterestsState);
            this.ifCanSkipToInterests.Condition = codecondition2;
            this.ifCanSkipToInterests.Name = "ifCanSkipToInterests";
            // 
            // elseCannotSkipToLifestyle
            // 
            this.elseCannotSkipToLifestyle.Activities.Add(this.callSkipToLifestyleOnPageToGoTo);
            this.elseCannotSkipToLifestyle.Name = "elseCannotSkipToLifestyle";
            // 
            // ifCanSkipToLifestyle
            // 
            this.ifCanSkipToLifestyle.Activities.Add(this.setSkipToLifestyle);
            codecondition3.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.CanSkipToLifestyleState);
            this.ifCanSkipToLifestyle.Condition = codecondition3;
            this.ifCanSkipToLifestyle.Name = "ifCanSkipToLifestyle";
            // 
            // elseCannotSkipToAppearance
            // 
            this.elseCannotSkipToAppearance.Activities.Add(this.callSkipToAppearanceOnPageToGoTo);
            this.elseCannotSkipToAppearance.Name = "elseCannotSkipToAppearance";
            // 
            // ifCanSkipToAppearance
            // 
            this.ifCanSkipToAppearance.Activities.Add(this.setSkipToAppearance);
            codecondition4.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.CanSkipToAppearanceState);
            this.ifCanSkipToAppearance.Condition = codecondition4;
            this.ifCanSkipToAppearance.Name = "ifCanSkipToAppearance";
            // 
            // elseCannotSkipToBasicsState
            // 
            this.elseCannotSkipToBasicsState.Activities.Add(this.callSkipToBasicsOnPageToGoTo);
            this.elseCannotSkipToBasicsState.Name = "elseCannotSkipToBasicsState";
            // 
            // ifCanSkipToBasicsState
            // 
            this.ifCanSkipToBasicsState.Activities.Add(this.setSkipToBasics);
            codecondition5.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.CanSkipToBasicsState);
            this.ifCanSkipToBasicsState.Condition = codecondition5;
            this.ifCanSkipToBasicsState.Name = "ifCanSkipToBasicsState";
            // 
            // setCompletePreviousState
            // 
            this.setCompletePreviousState.Name = "setCompletePreviousState";
            this.setCompletePreviousState.TargetStateName = "InterestsState";
            // 
            // handleCompletePrevious
            // 
            this.handleCompletePrevious.EventName = "Previous";
            this.handleCompletePrevious.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleCompletePrevious.Name = "handleCompletePrevious";
            workflowparameterbinding6.ParameterName = "e";
            this.handleCompletePrevious.ParameterBindings.Add(workflowparameterbinding6);
            // 
            // callCompleteStateOnPageToGoTo
            // 
            this.callCompleteStateOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callCompleteStateOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callCompleteStateOnPageToGoTo.Name = "callCompleteStateOnPageToGoTo";
            activitybind6.Name = "NavigationWorkflow";
            activitybind6.Path = "PageToGoToEventArgs";
            workflowparameterbinding7.ParameterName = "args";
            workflowparameterbinding7.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.callCompleteStateOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding7);
            this.callCompleteStateOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeOutgoingMessage);
            // 
            // setLifestyleNextState
            // 
            this.setLifestyleNextState.Name = "setLifestyleNextState";
            this.setLifestyleNextState.TargetStateName = "InterestsState";
            // 
            // handleLifestyleNext
            // 
            this.handleLifestyleNext.EventName = "Next";
            this.handleLifestyleNext.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleLifestyleNext.Name = "handleLifestyleNext";
            workflowparameterbinding8.ParameterName = "e";
            this.handleLifestyleNext.ParameterBindings.Add(workflowparameterbinding8);
            // 
            // setLifestylePreviousState
            // 
            this.setLifestylePreviousState.Name = "setLifestylePreviousState";
            this.setLifestylePreviousState.TargetStateName = "AppearanceState";
            // 
            // handleLifestylePrevious
            // 
            this.handleLifestylePrevious.EventName = "Previous";
            this.handleLifestylePrevious.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleLifestylePrevious.Name = "handleLifestylePrevious";
            workflowparameterbinding9.ParameterName = "e";
            this.handleLifestylePrevious.ParameterBindings.Add(workflowparameterbinding9);
            // 
            // callLifestyleStateOnPageToGoTo
            // 
            this.callLifestyleStateOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callLifestyleStateOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callLifestyleStateOnPageToGoTo.Name = "callLifestyleStateOnPageToGoTo";
            activitybind7.Name = "NavigationWorkflow";
            activitybind7.Path = "PageToGoToEventArgs";
            workflowparameterbinding10.ParameterName = "args";
            workflowparameterbinding10.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            this.callLifestyleStateOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding10);
            this.callLifestyleStateOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeOutgoingMessage);
            // 
            // setAppearanceNextState
            // 
            this.setAppearanceNextState.Name = "setAppearanceNextState";
            this.setAppearanceNextState.TargetStateName = "LifestyleState";
            // 
            // handleAppearanceNext
            // 
            this.handleAppearanceNext.EventName = "Next";
            this.handleAppearanceNext.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleAppearanceNext.Name = "handleAppearanceNext";
            workflowparameterbinding11.ParameterName = "e";
            this.handleAppearanceNext.ParameterBindings.Add(workflowparameterbinding11);
            // 
            // setAppearancePreviousState
            // 
            this.setAppearancePreviousState.Name = "setAppearancePreviousState";
            this.setAppearancePreviousState.TargetStateName = "BasicsState";
            // 
            // handleAppearancePrevious
            // 
            this.handleAppearancePrevious.EventName = "Previous";
            this.handleAppearancePrevious.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleAppearancePrevious.Name = "handleAppearancePrevious";
            workflowparameterbinding12.ParameterName = "e";
            this.handleAppearancePrevious.ParameterBindings.Add(workflowparameterbinding12);
            // 
            // callAppearanceStateOnPageToGoTo
            // 
            this.callAppearanceStateOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callAppearanceStateOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callAppearanceStateOnPageToGoTo.Name = "callAppearanceStateOnPageToGoTo";
            activitybind8.Name = "NavigationWorkflow";
            activitybind8.Path = "PageToGoToEventArgs";
            workflowparameterbinding13.ParameterName = "args";
            workflowparameterbinding13.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
            this.callAppearanceStateOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding13);
            this.callAppearanceStateOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeOutgoingMessage);
            // 
            // setInterestsNextState
            // 
            this.setInterestsNextState.Name = "setInterestsNextState";
            this.setInterestsNextState.TargetStateName = "CompleteState";
            // 
            // handleInterestsNext
            // 
            this.handleInterestsNext.EventName = "Next";
            this.handleInterestsNext.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleInterestsNext.Name = "handleInterestsNext";
            workflowparameterbinding14.ParameterName = "e";
            this.handleInterestsNext.ParameterBindings.Add(workflowparameterbinding14);
            // 
            // setInterestsPreviousState
            // 
            this.setInterestsPreviousState.Name = "setInterestsPreviousState";
            this.setInterestsPreviousState.TargetStateName = "LifestyleState";
            // 
            // handleInterestsPrevious
            // 
            this.handleInterestsPrevious.EventName = "Previous";
            this.handleInterestsPrevious.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleInterestsPrevious.Name = "handleInterestsPrevious";
            workflowparameterbinding15.ParameterName = "e";
            this.handleInterestsPrevious.ParameterBindings.Add(workflowparameterbinding15);
            // 
            // callInterestsStateOnPageToGoTo
            // 
            this.callInterestsStateOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callInterestsStateOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callInterestsStateOnPageToGoTo.Name = "callInterestsStateOnPageToGoTo";
            activitybind9.Name = "NavigationWorkflow";
            activitybind9.Path = "PageToGoToEventArgs";
            workflowparameterbinding16.ParameterName = "args";
            workflowparameterbinding16.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind9)));
            this.callInterestsStateOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding16);
            this.callInterestsStateOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeOutgoingMessage);
            // 
            // setBasicsNextState
            // 
            this.setBasicsNextState.Name = "setBasicsNextState";
            this.setBasicsNextState.TargetStateName = "AppearanceState";
            // 
            // handleBasicsNext
            // 
            this.handleBasicsNext.EventName = "Next";
            this.handleBasicsNext.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleBasicsNext.Name = "handleBasicsNext";
            workflowparameterbinding17.ParameterName = "e";
            this.handleBasicsNext.ParameterBindings.Add(workflowparameterbinding17);
            // 
            // callBasicsStateOnPageToGoTo
            // 
            this.callBasicsStateOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callBasicsStateOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callBasicsStateOnPageToGoTo.Name = "callBasicsStateOnPageToGoTo";
            activitybind10.Name = "NavigationWorkflow";
            activitybind10.Path = "PageToGoToEventArgs";
            workflowparameterbinding18.ParameterName = "args";
            workflowparameterbinding18.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind10)));
            this.callBasicsStateOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding18);
            this.callBasicsStateOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeOutgoingMessage);
            // 
            // setInitialNextState
            // 
            this.setInitialNextState.Name = "setInitialNextState";
            this.setInitialNextState.TargetStateName = "BasicsState";
            // 
            // handleInitialNext
            // 
            this.handleInitialNext.EventName = "Next";
            this.handleInitialNext.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleInitialNext.Name = "handleInitialNext";
            workflowparameterbinding19.ParameterName = "e";
            this.handleInitialNext.ParameterBindings.Add(workflowparameterbinding19);
            // 
            // callInitialStateOnPageToGoTo
            // 
            this.callInitialStateOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callInitialStateOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callInitialStateOnPageToGoTo.Name = "callInitialStateOnPageToGoTo";
            activitybind11.Name = "NavigationWorkflow";
            activitybind11.Path = "PageToGoToEventArgs";
            workflowparameterbinding20.ParameterName = "args";
            workflowparameterbinding20.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind11)));
            this.callInitialStateOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding20);
            this.callInitialStateOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeOutgoingMessage);
            // 
            // codeInitializeInitialState
            // 
            this.codeInitializeInitialState.Name = "codeInitializeInitialState";
            this.codeInitializeInitialState.ExecuteCode += new System.EventHandler(this.codeInitializeInitialState_ExecuteCode);
            // 
            // ifElseActivity5
            // 
            this.ifElseActivity5.Activities.Add(this.ifCanSkipToComplete);
            this.ifElseActivity5.Activities.Add(this.elseCannotSkipToComplete);
            this.ifElseActivity5.Name = "ifElseActivity5";
            // 
            // handleSkipToComplete
            // 
            this.handleSkipToComplete.EventName = "SkipToComplete";
            this.handleSkipToComplete.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleSkipToComplete.Name = "handleSkipToComplete";
            // 
            // ifElseActivity4
            // 
            this.ifElseActivity4.Activities.Add(this.ifCanSkipToInterests);
            this.ifElseActivity4.Activities.Add(this.elseCannotSkipToInterests);
            this.ifElseActivity4.Name = "ifElseActivity4";
            // 
            // handleSkipToInterests
            // 
            this.handleSkipToInterests.EventName = "SkipToInterests";
            this.handleSkipToInterests.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleSkipToInterests.Name = "handleSkipToInterests";
            // 
            // ifElseActivity3
            // 
            this.ifElseActivity3.Activities.Add(this.ifCanSkipToLifestyle);
            this.ifElseActivity3.Activities.Add(this.elseCannotSkipToLifestyle);
            this.ifElseActivity3.Name = "ifElseActivity3";
            // 
            // handleSkipToLifestyle
            // 
            this.handleSkipToLifestyle.EventName = "SkipToLifestyle";
            this.handleSkipToLifestyle.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleSkipToLifestyle.Name = "handleSkipToLifestyle";
            // 
            // ifElseActivity2
            // 
            this.ifElseActivity2.Activities.Add(this.ifCanSkipToAppearance);
            this.ifElseActivity2.Activities.Add(this.elseCannotSkipToAppearance);
            this.ifElseActivity2.Name = "ifElseActivity2";
            // 
            // handleSkipToAppearance
            // 
            this.handleSkipToAppearance.EventName = "SkipToAppearance";
            this.handleSkipToAppearance.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleSkipToAppearance.Name = "handleSkipToAppearance";
            // 
            // ifElseActivity1
            // 
            this.ifElseActivity1.Activities.Add(this.ifCanSkipToBasicsState);
            this.ifElseActivity1.Activities.Add(this.elseCannotSkipToBasicsState);
            this.ifElseActivity1.Name = "ifElseActivity1";
            // 
            // handleSkipToBasics
            // 
            this.handleSkipToBasics.EventName = "SkipToBasics";
            this.handleSkipToBasics.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleSkipToBasics.Name = "handleSkipToBasics";
            // 
            // callErrorOnPageToGoTo
            // 
            this.callErrorOnPageToGoTo.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callErrorOnPageToGoTo.MethodName = "OnPageToGoTo";
            this.callErrorOnPageToGoTo.Name = "callErrorOnPageToGoTo";
            activitybind12.Name = "NavigationWorkflow";
            activitybind12.Path = "PageToGoToEventArgs";
            workflowparameterbinding21.ParameterName = "args";
            workflowparameterbinding21.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind12)));
            this.callErrorOnPageToGoTo.ParameterBindings.Add(workflowparameterbinding21);
            this.callErrorOnPageToGoTo.MethodInvoking += new System.EventHandler(this.InitializeErrorMessage);
            // 
            // handleError
            // 
            this.handleError.EventName = "Error";
            this.handleError.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleError.Name = "handleError";
            activitybind13.Name = "NavigationWorkflow";
            activitybind13.Path = "ErrorEventArgs";
            workflowparameterbinding22.ParameterName = "e";
            workflowparameterbinding22.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind13)));
            this.handleError.ParameterBindings.Add(workflowparameterbinding22);
            // 
            // callOutgoingSynchronize
            // 
            this.callOutgoingSynchronize.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callOutgoingSynchronize.MethodName = "OnOutgoingSynchronize";
            this.callOutgoingSynchronize.Name = "callOutgoingSynchronize";
            activitybind14.Name = "NavigationWorkflow";
            activitybind14.Path = "OutgoingSynchronizeMessageEventArgs";
            workflowparameterbinding23.ParameterName = "args";
            workflowparameterbinding23.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind14)));
            this.callOutgoingSynchronize.ParameterBindings.Add(workflowparameterbinding23);
            this.callOutgoingSynchronize.MethodInvoking += new System.EventHandler(this.InitializeOutgoingSynchronizeMessageEventArgs);
            // 
            // handleIncomingSynchronize
            // 
            this.handleIncomingSynchronize.EventName = "IncomingSynchronize";
            this.handleIncomingSynchronize.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleIncomingSynchronize.Name = "handleIncomingSynchronize";
            activitybind15.Name = "NavigationWorkflow";
            activitybind15.Path = "IncomingSynchronizeMessageEventArgs";
            workflowparameterbinding24.ParameterName = "e";
            workflowparameterbinding24.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind15)));
            this.handleIncomingSynchronize.ParameterBindings.Add(workflowparameterbinding24);
            // 
            // callRehydrated
            // 
            this.callRehydrated.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.callRehydrated.MethodName = "OnPageToGoTo";
            this.callRehydrated.Name = "callRehydrated";
            activitybind16.Name = "NavigationWorkflow";
            activitybind16.Path = "PageToGoToEventArgs";
            workflowparameterbinding25.ParameterName = "args";
            workflowparameterbinding25.SetBinding(System.Workflow.ComponentModel.WorkflowParameterBinding.ValueProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind16)));
            this.callRehydrated.ParameterBindings.Add(workflowparameterbinding25);
            this.callRehydrated.MethodInvoking += new System.EventHandler(this.InitializeOutgoingMessage);
            // 
            // handleRehydrated
            // 
            this.handleRehydrated.EventName = "Rehydrated";
            this.handleRehydrated.InterfaceType = typeof(DateSiteNavigation.INavigationService);
            this.handleRehydrated.Name = "handleRehydrated";
            // 
            // eventCompleteStatePrevious
            // 
            this.eventCompleteStatePrevious.Activities.Add(this.handleCompletePrevious);
            this.eventCompleteStatePrevious.Activities.Add(this.setCompletePreviousState);
            this.eventCompleteStatePrevious.Name = "eventCompleteStatePrevious";
            // 
            // initializeCompleteState
            // 
            this.initializeCompleteState.Activities.Add(this.callCompleteStateOnPageToGoTo);
            this.initializeCompleteState.Name = "initializeCompleteState";
            // 
            // eventLifestyleStateNext
            // 
            this.eventLifestyleStateNext.Activities.Add(this.handleLifestyleNext);
            this.eventLifestyleStateNext.Activities.Add(this.setLifestyleNextState);
            this.eventLifestyleStateNext.Name = "eventLifestyleStateNext";
            // 
            // eventLifestyleStatePrevious
            // 
            this.eventLifestyleStatePrevious.Activities.Add(this.handleLifestylePrevious);
            this.eventLifestyleStatePrevious.Activities.Add(this.setLifestylePreviousState);
            this.eventLifestyleStatePrevious.Name = "eventLifestyleStatePrevious";
            // 
            // initializeLifestyleState
            // 
            this.initializeLifestyleState.Activities.Add(this.callLifestyleStateOnPageToGoTo);
            this.initializeLifestyleState.Name = "initializeLifestyleState";
            // 
            // eventAppearanceStateNext
            // 
            this.eventAppearanceStateNext.Activities.Add(this.handleAppearanceNext);
            this.eventAppearanceStateNext.Activities.Add(this.setAppearanceNextState);
            this.eventAppearanceStateNext.Name = "eventAppearanceStateNext";
            // 
            // eventAppearanceStatePrevious
            // 
            this.eventAppearanceStatePrevious.Activities.Add(this.handleAppearancePrevious);
            this.eventAppearanceStatePrevious.Activities.Add(this.setAppearancePreviousState);
            this.eventAppearanceStatePrevious.Name = "eventAppearanceStatePrevious";
            // 
            // initializeAppearanceState
            // 
            this.initializeAppearanceState.Activities.Add(this.callAppearanceStateOnPageToGoTo);
            this.initializeAppearanceState.Name = "initializeAppearanceState";
            // 
            // eventInterestsStateNext
            // 
            this.eventInterestsStateNext.Activities.Add(this.handleInterestsNext);
            this.eventInterestsStateNext.Activities.Add(this.setInterestsNextState);
            this.eventInterestsStateNext.Name = "eventInterestsStateNext";
            // 
            // eventInterestsStatePrevious
            // 
            this.eventInterestsStatePrevious.Activities.Add(this.handleInterestsPrevious);
            this.eventInterestsStatePrevious.Activities.Add(this.setInterestsPreviousState);
            this.eventInterestsStatePrevious.Name = "eventInterestsStatePrevious";
            // 
            // initializeInterestsState
            // 
            this.initializeInterestsState.Activities.Add(this.callInterestsStateOnPageToGoTo);
            this.initializeInterestsState.Name = "initializeInterestsState";
            // 
            // eventBasicsStateNext
            // 
            this.eventBasicsStateNext.Activities.Add(this.handleBasicsNext);
            this.eventBasicsStateNext.Activities.Add(this.setBasicsNextState);
            this.eventBasicsStateNext.Name = "eventBasicsStateNext";
            // 
            // initializeBasicsState
            // 
            this.initializeBasicsState.Activities.Add(this.callBasicsStateOnPageToGoTo);
            this.initializeBasicsState.Name = "initializeBasicsState";
            // 
            // eventInitialStateNext
            // 
            this.eventInitialStateNext.Activities.Add(this.handleInitialNext);
            this.eventInitialStateNext.Activities.Add(this.setInitialNextState);
            this.eventInitialStateNext.Name = "eventInitialStateNext";
            // 
            // initializeInitialState
            // 
            this.initializeInitialState.Activities.Add(this.codeInitializeInitialState);
            this.initializeInitialState.Activities.Add(this.callInitialStateOnPageToGoTo);
            this.initializeInitialState.Name = "initializeInitialState";
            // 
            // eventSkipToComplete
            // 
            this.eventSkipToComplete.Activities.Add(this.handleSkipToComplete);
            this.eventSkipToComplete.Activities.Add(this.ifElseActivity5);
            this.eventSkipToComplete.Name = "eventSkipToComplete";
            // 
            // eventSkipToInterests
            // 
            this.eventSkipToInterests.Activities.Add(this.handleSkipToInterests);
            this.eventSkipToInterests.Activities.Add(this.ifElseActivity4);
            this.eventSkipToInterests.Name = "eventSkipToInterests";
            // 
            // eventSkipToLifestyle
            // 
            this.eventSkipToLifestyle.Activities.Add(this.handleSkipToLifestyle);
            this.eventSkipToLifestyle.Activities.Add(this.ifElseActivity3);
            this.eventSkipToLifestyle.Name = "eventSkipToLifestyle";
            // 
            // eventSkipToAppearance
            // 
            this.eventSkipToAppearance.Activities.Add(this.handleSkipToAppearance);
            this.eventSkipToAppearance.Activities.Add(this.ifElseActivity2);
            this.eventSkipToAppearance.Name = "eventSkipToAppearance";
            // 
            // eventSkipToBasics
            // 
            this.eventSkipToBasics.Activities.Add(this.handleSkipToBasics);
            this.eventSkipToBasics.Activities.Add(this.ifElseActivity1);
            this.eventSkipToBasics.Name = "eventSkipToBasics";
            // 
            // eventError
            // 
            this.eventError.Activities.Add(this.handleError);
            this.eventError.Activities.Add(this.callErrorOnPageToGoTo);
            this.eventError.Name = "eventError";
            // 
            // eventIncomingSynchronize
            // 
            this.eventIncomingSynchronize.Activities.Add(this.handleIncomingSynchronize);
            this.eventIncomingSynchronize.Activities.Add(this.callOutgoingSynchronize);
            this.eventIncomingSynchronize.Name = "eventIncomingSynchronize";
            // 
            // eventRehydrated
            // 
            this.eventRehydrated.Activities.Add(this.handleRehydrated);
            this.eventRehydrated.Activities.Add(this.callRehydrated);
            this.eventRehydrated.Name = "eventRehydrated";
            // 
            // CompleteState
            // 
            this.CompleteState.Activities.Add(this.initializeCompleteState);
            this.CompleteState.Activities.Add(this.eventCompleteStatePrevious);
            this.CompleteState.Name = "CompleteState";
            // 
            // LifestyleState
            // 
            this.LifestyleState.Activities.Add(this.initializeLifestyleState);
            this.LifestyleState.Activities.Add(this.eventLifestyleStatePrevious);
            this.LifestyleState.Activities.Add(this.eventLifestyleStateNext);
            this.LifestyleState.Name = "LifestyleState";
            // 
            // AppearanceState
            // 
            this.AppearanceState.Activities.Add(this.initializeAppearanceState);
            this.AppearanceState.Activities.Add(this.eventAppearanceStatePrevious);
            this.AppearanceState.Activities.Add(this.eventAppearanceStateNext);
            this.AppearanceState.Name = "AppearanceState";
            // 
            // InterestsState
            // 
            this.InterestsState.Activities.Add(this.initializeInterestsState);
            this.InterestsState.Activities.Add(this.eventInterestsStatePrevious);
            this.InterestsState.Activities.Add(this.eventInterestsStateNext);
            this.InterestsState.Name = "InterestsState";
            // 
            // BasicsState
            // 
            this.BasicsState.Activities.Add(this.initializeBasicsState);
            this.BasicsState.Activities.Add(this.eventBasicsStateNext);
            this.BasicsState.Name = "BasicsState";
            // 
            // InitialState
            // 
            this.InitialState.Activities.Add(this.initializeInitialState);
            this.InitialState.Activities.Add(this.eventInitialStateNext);
            this.InitialState.Name = "InitialState";
            // 
            // NavigationWorkflow
            // 
            this.Activities.Add(this.InitialState);
            this.Activities.Add(this.BasicsState);
            this.Activities.Add(this.InterestsState);
            this.Activities.Add(this.AppearanceState);
            this.Activities.Add(this.LifestyleState);
            this.Activities.Add(this.CompleteState);
            this.Activities.Add(this.eventRehydrated);
            this.Activities.Add(this.eventIncomingSynchronize);
            this.Activities.Add(this.eventError);
            this.Activities.Add(this.eventSkipToBasics);
            this.Activities.Add(this.eventSkipToAppearance);
            this.Activities.Add(this.eventSkipToLifestyle);
            this.Activities.Add(this.eventSkipToInterests);
            this.Activities.Add(this.eventSkipToComplete);
            this.CompletedStateName = null;
            this.DynamicUpdateCondition = null;
            this.InitialStateName = "InitialState";
            this.Name = "NavigationWorkflow";
            this.CanModifyActivities = false;

        }

        #endregion

        private CallExternalMethodActivity callSkipToCompleteOnPageToGoTo;
        private IfElseBranchActivity elseCannotSkipToComplete;
        private IfElseBranchActivity ifCanSkipToComplete;
        private IfElseActivity ifElseActivity5;
        private CallExternalMethodActivity callSkipToInterestsOnPageToGoTo;
        private IfElseBranchActivity elseCannotSkipToInterests;
        private IfElseBranchActivity ifCanSkipToInterests;
        private IfElseActivity ifElseActivity4;
        private CallExternalMethodActivity callSkipToLifestyleOnPageToGoTo;
        private IfElseBranchActivity elseCannotSkipToLifestyle;
        private IfElseBranchActivity ifCanSkipToLifestyle;
        private IfElseActivity ifElseActivity3;
        private SetStateActivity setSkipToAppearance;
        private CallExternalMethodActivity callSkipToAppearanceOnPageToGoTo;
        private IfElseBranchActivity elseCannotSkipToAppearance;
        private IfElseBranchActivity ifCanSkipToAppearance;
        private IfElseActivity ifElseActivity2;
        private CallExternalMethodActivity callSkipToBasicsOnPageToGoTo;
        private IfElseBranchActivity elseCannotSkipToBasicsState;
        private IfElseBranchActivity ifCanSkipToBasicsState;
        private IfElseActivity ifElseActivity1;
        private EventDrivenActivity eventSkipToAppearance;
        private HandleExternalEventActivity handleSkipToAppearance;
        private EventDrivenActivity eventSkipToLifestyle;
        private SetStateActivity setSkipToLifestyle;
        private HandleExternalEventActivity handleSkipToLifestyle;
        private SetStateActivity setSkipToComplete;
        private HandleExternalEventActivity handleSkipToComplete;
        private SetStateActivity setSkipToInterests;
        private HandleExternalEventActivity handleSkipToInterests;
        private EventDrivenActivity eventSkipToComplete;
        private EventDrivenActivity eventSkipToInterests;
        private HandleExternalEventActivity handleSkipToBasics;
        private EventDrivenActivity eventSkipToBasics;
        private SetStateActivity setSkipToBasics;
        private CallExternalMethodActivity callErrorOnPageToGoTo;
        private HandleExternalEventActivity handleError;
        private EventDrivenActivity eventError;
        private CallExternalMethodActivity callOutgoingSynchronize;
        private EventDrivenActivity eventIncomingSynchronize;
        private HandleExternalEventActivity handleIncomingSynchronize;
        private CallExternalMethodActivity callRehydrated;
        private HandleExternalEventActivity handleRehydrated;
        private EventDrivenActivity eventRehydrated;
        private CallExternalMethodActivity callBasicsStateOnPageToGoTo;
        private CallExternalMethodActivity callAppearanceStateOnPageToGoTo;
        private CallExternalMethodActivity callLifestyleStateOnPageToGoTo;
        private CallExternalMethodActivity callInterestsStateOnPageToGoTo;
        private CallExternalMethodActivity callCompleteStateOnPageToGoTo;
        private StateActivity BasicsState;
        private StateActivity CompleteState;
        private StateActivity LifestyleState;
        private StateActivity AppearanceState;
        private StateActivity InterestsState;
        private EventDrivenActivity eventAppearanceStateNext;
        private EventDrivenActivity eventAppearanceStatePrevious;
        private StateInitializationActivity initializeAppearanceState;
        private EventDrivenActivity eventBasicsStateNext;
        private StateInitializationActivity initializeBasicsState;
        private EventDrivenActivity eventInitialStateNext;
        private StateInitializationActivity initializeInitialState;
        private EventDrivenActivity eventLifestyleStateNext;
        private EventDrivenActivity eventLifestyleStatePrevious;
        private StateInitializationActivity initializeLifestyleState;
        private EventDrivenActivity eventCompleteStatePrevious;
        private StateInitializationActivity initializeCompleteState;
        private EventDrivenActivity eventInterestsStateNext;
        private EventDrivenActivity eventInterestsStatePrevious;
        private StateInitializationActivity initializeInterestsState;
        private SetStateActivity setInitialNextState;
        private HandleExternalEventActivity handleInitialNext;
        private SetStateActivity setBasicsNextState;
        private HandleExternalEventActivity handleBasicsNext;
        private SetStateActivity setAppearanceNextState;
        private HandleExternalEventActivity handleAppearanceNext;
        private SetStateActivity setLifestyleNextState;
        private HandleExternalEventActivity handleLifestyleNext;
        private HandleExternalEventActivity handleInterestsNext;
        private SetStateActivity setInterestsNextState;
        private SetStateActivity setCompletePreviousState;
        private HandleExternalEventActivity handleCompletePrevious;
        private SetStateActivity setInterestsPreviousState;
        private HandleExternalEventActivity handleInterestsPrevious;
        private SetStateActivity setLifestylePreviousState;
        private HandleExternalEventActivity handleLifestylePrevious;
        private SetStateActivity setAppearancePreviousState;
        private HandleExternalEventActivity handleAppearancePrevious;
        private CodeActivity codeInitializeInitialState;
        private CallExternalMethodActivity callInitialStateOnPageToGoTo;
        private StateActivity InitialState;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Pero Matić
Software Developer (Senior) Plan A Software
United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150428.2 | Last Updated 21 Oct 2008
Article Copyright 2008 by Pero Matić
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid