Introduction - If you have any usage issues, please Google them yourself
public MainForm()
{
InitializeComponent()
_runtime = new WorkflowRuntime()
ExternalDataExchangeService edes = new ExternalDataExchangeService()
_runtime.AddService(edes)
_service = new DoorService()
edes.AddService(_service)
_runtime.WorkflowCompleted+= new EventHandler<WorkflowCompletedEventArgs>(OnWorkflowCompleted)
_runtime.StartRuntime()
AddDoor(_service, frontDoor)
AddDoor(_service, backDoor)
}