Share via


Exercise 2: Integrate the Workflow Designer

In this exercise, you will integrate the Windows Workflow Foundation Designer into the Windows Form application you created in the previous exercise. The Windows Form uses a Panel control as the host for the Workflow Designer. In Task 1: Create the Workflow Designer Loader, you create a class derived from the WorkflowDesignerLoader class. When subclassed, the WorkflowDesignerLoader class allows you to implement custom loading and unloading logic. For instance, a workflow definition can be stored on the local file system in a compressed or uncompressed format, within a database or located at a location on a shared network.

In Task 2: Incorporate the Workflow Designer into the Windows Form, you will connect the WorkflowDesignerLoader class to the Windows Form application in order to make the Windows Workflow Designer visible. In Task 3: Create the WorkflowMenuCommandService, you will learn how to use the MenuCommandService to implement common Windows Workflow Designer context menu commands.

In This Section

Reference

WorkflowDesignerLoader

MenuCommandService

Hosting Workflow Designers

Basic Designer Hosting Sample

Outlook Workflow Wizard Sample

Workflow Monitor Sample

Tracking Profile Designer Sample

Copyright © 2007 by Microsoft Corporation. All rights reserved.
Last Published: 2010-03-04