<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Adding WPF Windows to an existing Windows Form Project</title>
	<atom:link href="http://www.i-think22.net/archives/2008/08/05/adding-wpf-windows-to-an-existing-windows-form-project/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.i-think22.net/archives/2008/08/05/adding-wpf-windows-to-an-existing-windows-form-project/</link>
	<description>Now back in blue (curve included)</description>
	<pubDate>Tue, 06 Jan 2009 07:38:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Andre Vileski</title>
		<link>http://www.i-think22.net/archives/2008/08/05/adding-wpf-windows-to-an-existing-windows-form-project/#comment-8373</link>
		<dc:creator>Andre Vileski</dc:creator>
		<pubDate>Fri, 14 Nov 2008 12:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.i-think22.net/?p=166#comment-8373</guid>
		<description>Hi,

Thanks for this tip very useful, now if the winform that you wish to replace with a WPFForm is your first form to be shown how do you modify the main function :
&lt;pre name="code" class="csharp:nogutter"&gt;
static void Main()
{
   Application.EnableVisualStyles();
   Application.SetCompatibleTextRenderingDefault(false);

   Application.Run(new FrmLogon()); // This won't work with a WPF form
}
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for this tip very useful, now if the winform that you wish to replace with a WPFForm is your first form to be shown how do you modify the main function :</p>
<pre name="code" class="csharp:nogutter">
static void Main()
{
   Application.EnableVisualStyles();
   Application.SetCompatibleTextRenderingDefault(false);

   Application.Run(new FrmLogon()); // This won't work with a WPF form
}
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
