Skip to Content
Microsoft Windows Workflow Foundation 4.0 Cookbook
book

Microsoft Windows Workflow Foundation 4.0 Cookbook

by Andrew Zhu
September 2010
Intermediate to advanced content levelIntermediate to advanced
272 pages
5h 16m
English
Packt Publishing
Content preview from Microsoft Windows Workflow Foundation 4.0 Cookbook

A number guessing game using a flowchart

The flowchart was not invented in WF4. On the contrary, this type of diagram has a long history. The flowchart was first introduced by Frank Gilbreth in 1921 and he created a tool to use the flowchart in an industrial engineering curriculum.

As a programmer, you may already have experience in using a flowchart to draw an algorithm or process.

In this task, we will create a number guessing game using a flowchart. This task will also demonstrate the usage of the FlowDecision activity.

How to do it...

  1. Create a workflow project:

    Create a Workflow Console Application and name it GuessNumberGameInFlowChart.

  2. reate a ReadNumberActivity to receive the guess number:

    Create a new code file, name it ReadNumberActivity.cs ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential Windows Workflow Foundation

Essential Windows Workflow Foundation

Dharma Shukla, Bob Schmidt

Publisher Resources

ISBN: 9781849680783Other