September 2010
Intermediate to advanced
272 pages
5h 16m
English
In this task we will create a workflow running in a Windows Form application.
Create a Windows Form project and name it HostingWorkflowInWinForm.
Add a workflow to the project and call it AdditionWorkflow.xaml. Author the workflow like this:

Open the default created Form1.cs file and alter it to:

Double-click the Adding button and add code to the button event handler. The final code will be:
using System;using System.Windows.Forms;using ...