WPF and WF sample application - ATM machineThis project is a simple ATM workflow. This is to serve as a start point on how to combine Windows Presentation Foundation with Windows Workflow Foundation.
To understand this project, you will need to be familiar with WPF, and you must have already done the getting started tutorials for WF.
The solution contains the following projects:
-
AppHost: this is the startup project. It is a WPF application that hosts the work flows and the actual user interface.
-
RepresentationLayer: contains definition for the main class that handles the UI
-
ScreensInterfaces: important definition for the UI, and UI input and output objects.
-
ScreensRepo: the screen .xaml files. (the interface that the user sees). This is used by "RepresentationLayer"
-
WorkFlows: contains the main work flows for the ATM machine. Classes names that end with "Workflow" are the major workflows, and the ones that end with "Activity" are sub workflows.
-
ServiceLocator: A single ton class. Depends on the service locator famous pattern
http://en.wikipedia.org/wiki/Service_locator_pattern. This is to help as a center point to access the screen or the current workflow.