Description: 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)
}
To Search:
File list (Check if you may need any files):
04 StateMachine\04 StateMachine.sln
...............\app.config
...............\DoorControl.cs
...............\DoorControl.Designer.cs
...............\DoorControl.resx
...............\Doors.csproj
...............\DoorService.cs
...............\....sWorkflow\DoorFlow.cs
...............\.............\DoorFlow.designer.cs
...............\.............\DoorFlow.layout
...............\.............\DoorFlow.rules
...............\.............\DoorsWorkflow.csproj
...............\.............\IDoorService.cs
...............\.............\Properties\AssemblyInfo.cs
...............\.............\..........\Settings.Designer.cs
...............\.............\..........\Settings.settings
...............\.............\SeqDoor.cs
...............\.............\SeqDoor.Designer.cs
...............\.............\WindowsHardwareInsert.wav
...............\.............\WindowsHardwareRemove.wav
...............\MainForm.cs
...............\MainForm.Designer.cs
...............\MainForm.resx
...............\Program.cs
...............\...perties\AssemblyInfo.cs
...............\..........\Resources.Designer.cs
...............\..........\Resources.resx
...............\..........\Settings.Designer.cs
...............\..........\Settings.settings
...............\Windows Logoff Sound.wav
...............\Windows Logon Sound.wav
...............\DoorsWorkflow\Properties
...............\DoorsWorkflow
...............\Properties
04 StateMachine