O'Reilly logo

Microsoft Windows Workflow Foundation 4.0 Cookbook by Andrew Zhu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing New Workflow and Load Workflow events

In this task, we will give our workflow designer the ability to create new workflows and load workflow from XAML files.

Getting ready

Before we begin this task, we must complete the previous task: Implementing Toolbox, Workflow Designer, and Property Inspector views.

How to do it...

  1. Open the workflow designer project:

    Open the workflow designer project we created in the previous task.

  2. Create a new empty workflow as an empty workflow template:

    Click on the Show All Files button and navigate to the project's bin\Debug folder.

    How to do it...

    Create a new XAML file named WFTemplate.xaml. Fill the file with the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required