September 2010
Intermediate to advanced
272 pages
5h 16m
English
In this task, our workflow designer will have the ability to run workflow so that we can test our workflow when we are editing.
Before we begin this task, we must have completed the previous task: Implementing Save and Save As events.
Open the workflow designer project we created in the previous task.
Open the designer's backend CS code file, MainWindow.xaml.cs, and create a new method GetActivity. Then add code to the TabItem_GotFocus_RefreshXamlBox method and the MenuItem_Click_RunWorkflow method:
Activity GetActivity() { wd.Flush(); System.IO.StringReaderstringReader = new System. IO.StringReader(wd.Text); Activity ...