WF控制台工作流(2)

 

 

 

using System;
using System.Linq;
using System.Activities;
using System.Activities.Statements;

namespace WorkflowDemo
{

    class Program
    {
        static void Main(string[] args)
        {
            //活动:树状的
            Activity workflow1 = new Workflow1();

            WorkflowInvoker.Invoke(workflow1);

            Console.ReadKey();
        }
    }
}

 

posted @ 2015-02-05 16:29  好学Ace  阅读(196)  评论(0编辑  收藏  举报