Exemple #1
0
        public static void Main(string[] args)
        {
            Activity wf = new Sequence1();
            WorkflowInvoker.Invoke(wf);

            Console.WriteLine("Press <return> to continue...");
            Console.Read();
        }
Exemple #2
0
        public static void Main(string[] args)
        {
            Activity wf = new Sequence1();

            WorkflowInvoker.Invoke(wf);

            Console.WriteLine("Press <return> to continue...");
            Console.Read();
        }
Exemple #3
0
        // start the WF and interact with the user
        static void Main()
        {
            AutoResetEvent resetEvent = new AutoResetEvent(false);

            // create the instance of the workflow
            Activity program = new Sequence1();

            // create and start a workflow application
            WorkflowApplication application = StartWorkflow(program, resetEvent);

            // interact with the application
            Interact(application, resetEvent);
        }
        // start the WF and interact with the user
        static void Main()
        {
            AutoResetEvent resetEvent = new AutoResetEvent(false);

            // create the instance of the workflow
            Activity program = new Sequence1();

            // create and start a workflow application
            WorkflowApplication application = StartWorkflow(program, resetEvent);

            // interact with the application
            Interact(application, resetEvent);
        }