Completed Hosting the Windows Workflow Designer Tutorial

.NET Framework 3.5

Download sample

Bb153579.note(en-us,VS.90).gifNote:
The project files that are listed here contain the complete source code for the Tutorial: Hosting the WF Designer tutorial.

This tutorial explains how to host the Windows Workflow Foundation Designer. The application that is created allows a user to manually type Xaml code and immediately see the graphical representation of the workflow definition in the hosted Windows Workflow Designer.

Tutorial Overview

In Exercise 1: Create the Workflow Designer Hosting Project, you create the necessary project infrastructure that is needed for Exercise 2: Integrate the Workflow Designer. This includes the initial project files and the Windows Form application that serves as the host for the Windows Workflow Foundation Designer. In Task 1: Create the Workflow Designer Loader of Exercise 2: Integrate the Workflow Designer, you create the WorklowLoader class. The WorkflowLoader class is a class derived from the WorkflowDesignerLoader class. This class performs the necessary functionality for the loading and unloading of workflow definitions. The WorkflowLoader class can be extended to include functionality to load and unload workflow definitions from file storage. In Task 2: Incorporate the Workflow Designer into the Windows Form, you connect the WorkflowLoader class with the Windows Form you created in Task 2: Create the Workflow Designer Hosting Windows Form. After this is complete, the Windows Workflow Designer is visible on the Windows Form when the application executes. Finally, in Task 3: Create the WorkflowMenuCommandService, you add a service to the Windows Workflow Designer in order to enable and display a context menu for the hosted Windows Workflow Designer.



Copyright © 2007 by Microsoft Corporation. All rights reserved.
Last Published: 2010-03-04
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft