<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ebeworld's Weblog &#187; WWF</title>
	<atom:link href="http://ebeworld.wordpress.com/category/wwf/feed/" rel="self" type="application/rss+xml" />
	<link>http://ebeworld.wordpress.com</link>
	<description>Trying to create</description>
	<lastBuildDate>Wed, 09 Dec 2009 19:33:44 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='ebeworld.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/cbd4023a12f78275f1676e6f81eb8a20?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Ebeworld's Weblog &#187; WWF</title>
		<link>http://ebeworld.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ebeworld.wordpress.com/osd.xml" title="Ebeworld&#8217;s Weblog" />
		<item>
		<title>Hello World WPF with IfElse</title>
		<link>http://ebeworld.wordpress.com/2009/01/10/hello-world-wpf-with-ifelse/</link>
		<comments>http://ebeworld.wordpress.com/2009/01/10/hello-world-wpf-with-ifelse/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 00:30:02 +0000</pubDate>
		<dc:creator>ebeworld</dc:creator>
				<category><![CDATA[WWF]]></category>

		<guid isPermaLink="false">http://ebeworld.wordpress.com/?p=167</guid>
		<description><![CDATA[using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Workflow.Runtime;
using System.Workflow.Runtime.Hosting;
 
namespace MyHelloWorld2
{
    class Program
    {
        static void Main(string[] args)
        {
            using(WorkflowRuntime workflowRuntime = new WorkflowRuntime())
            {
                AutoResetEvent waitHandle = new AutoResetEvent(false);
                string message = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ebeworld.wordpress.com&blog=5157598&post=167&subd=ebeworld&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>using System;</p>
<p>using System.Collections.Generic;</p>
<p>using System.Linq;</p>
<p>using System.Text;</p>
<p>using System.Threading;</p>
<p>using System.Workflow.Runtime;</p>
<p>using System.Workflow.Runtime.Hosting;</p>
<p> </p>
<p>namespace MyHelloWorld2</p>
<p>{</p>
<p>    class Program</p>
<p>    {</p>
<p>        static void Main(string[] args)</p>
<p>        {</p>
<p>            using(WorkflowRuntime workflowRuntime = new WorkflowRuntime())</p>
<p>            {</p>
<p>                AutoResetEvent waitHandle = new AutoResetEvent(false);</p>
<p>                string message = string.Empty;</p>
<p>                Dictionary&lt;String, Object&gt; inParams = new Dictionary&lt;string, Object&gt;();</p>
<p>                //inParams.Add(&#8220;FirstName&#8221;, &#8220;Todd&#8221;);</p>
<p> </p>
<p>                workflowRuntime.WorkflowCompleted += delegate(object sender, WorkflowCompletedEventArgs e) </p>
<p>                {</p>
<p>                    message = (string)e.OutputParameters["Message"];</p>
<p>                    waitHandle.Set();</p>
<p>                };</p>
<p>                workflowRuntime.WorkflowTerminated += delegate(object sender, WorkflowTerminatedEventArgs e)</p>
<p>                {</p>
<p>                    Console.WriteLine(e.Exception.Message);</p>
<p>                    waitHandle.Set();</p>
<p>                };</p>
<p> </p>
<p>                WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof(MyHelloWorld2.Workflow1), inParams);</p>
<p>                instance.Start();</p>
<p> </p>
<p>                waitHandle.WaitOne();</p>
<p>                Console.WriteLine(message);</p>
<p>            }</p>
<p>        }</p>
<p>    }</p>
<p>}</p>
<div></div>
<div></div>
<div></div>
<div></div>
<div>
<div>using System;</div>
<div>using System.ComponentModel;</div>
<div>using System.ComponentModel.Design;</div>
<div>using System.Collections;</div>
<div>using System.Drawing;</div>
<div>using System.Linq;</div>
<div>using System.Workflow.ComponentModel.Compiler;</div>
<div>using System.Workflow.ComponentModel.Serialization;</div>
<div>using System.Workflow.ComponentModel;</div>
<div>using System.Workflow.ComponentModel.Design;</div>
<div>using System.Workflow.Runtime;</div>
<div>using System.Workflow.Activities;</div>
<div>using System.Workflow.Activities.Rules;</div>
<div></div>
<div>namespace MyHelloWorld2</div>
<div>{</div>
<div>    public sealed partial class Workflow1 : SequentialWorkflowActivity</div>
<div>    {</div>
<div>        private String fistName;</div>
<div>        private String message;</div>
<div></div>
<div>        public String FirstName</div>
<div>        {</div>
<div>            set</div>
<div>            {</div>
<div>                this.fistName = value;</div>
<div>            }</div>
<div>        }</div>
<div></div>
<div>        public String Message</div>
<div>        {</div>
<div>            get</div>
<div>            {</div>
<div>                return this.message;</div>
<div>            }</div>
<div>        }</div>
<div></div>
<div>        public Workflow1()</div>
<div>        {</div>
<div>            InitializeComponent();</div>
<div>        }</div>
<div></div>
<div>        private void hasName(object sender, ConditionalEventArgs e)</div>
<div>        {</div>
<div>            if (!String.IsNullOrEmpty(this.fistName))</div>
<div>            {</div>
<div>                e.Result = true;</div>
<div>            }</div>
<div></div>
<div>        }</div>
<div></div>
<div>        private void createMessage_ExecuteCode(object sender, EventArgs e)</div>
<div>        {</div>
<div>            this.message = &#8220;Hello&#8221; + fistName;</div>
<div>        }</div>
<div></div>
<div>        private void createMessage2_ExecuteCode(object sender, EventArgs e)</div>
<div>        {</div>
<div>            this.message = &#8220;Hello, World!&#8221;;</div>
<div>        }</div>
<div></div>
<div></div>
<div>    }</div>
<div></div>
<div>}</div>
<div></div>
</div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ebeworld.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ebeworld.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ebeworld.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ebeworld.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ebeworld.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ebeworld.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ebeworld.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ebeworld.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ebeworld.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ebeworld.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ebeworld.wordpress.com&blog=5157598&post=167&subd=ebeworld&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ebeworld.wordpress.com/2009/01/10/hello-world-wpf-with-ifelse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5ebaca1d1c2b06cc18b8d977bb1c37d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ebeworld</media:title>
		</media:content>
	</item>
	</channel>
</rss>