WorkflowRuntime runtime = new WorkflowRuntime(); ;
System.Type type = typeof(WorkflowLibrary1.Workflow1);
WorkflowInstance instance = runtime.CreateWorkflow(type);
instance.Start();
转载于:https://www.cnblogs.com/liulf/archive/2011/05/18/2049982.html