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();
}
}
}