<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Best Way to Close Form with Escape Key</title>
	<atom:link href="http://goneale.com/2009/05/21/best-way-to-close-form-with-escape-key/feed/" rel="self" type="application/rss+xml" />
	<link>http://goneale.com/2009/05/21/best-way-to-close-form-with-escape-key/</link>
	<description>Graham O&#039;Neale – Deep In .NET Development: ASP.NET, MVC, jQuery, WPF, WCF, Silverlight</description>
	<lastBuildDate>Wed, 28 Sep 2011 23:00:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: dude</title>
		<link>http://goneale.com/2009/05/21/best-way-to-close-form-with-escape-key/comment-page-1/#comment-30823</link>
		<dc:creator>dude</dc:creator>
		<pubDate>Mon, 23 May 2011 18:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=618#comment-30823</guid>
		<description>Great solution, thank you!</description>
		<content:encoded><![CDATA[<p>Great solution, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hasan</title>
		<link>http://goneale.com/2009/05/21/best-way-to-close-form-with-escape-key/comment-page-1/#comment-20045</link>
		<dc:creator>hasan</dc:creator>
		<pubDate>Tue, 11 Jan 2011 20:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=618#comment-20045</guid>
		<description>;-)  Well  the third one is working great... Ty</description>
		<content:encoded><![CDATA[<p> <img src='http://goneale.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   Well  the third one is working great&#8230; Ty</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham O'Neale</title>
		<link>http://goneale.com/2009/05/21/best-way-to-close-form-with-escape-key/comment-page-1/#comment-4710</link>
		<dc:creator>Graham O'Neale</dc:creator>
		<pubDate>Tue, 15 Dec 2009 05:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=618#comment-4710</guid>
		<description>You mean like in my first example?
It doesn&#039;t always work.</description>
		<content:encoded><![CDATA[<p>You mean like in my first example?<br />
It doesn&#8217;t always work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luu Tai</title>
		<link>http://goneale.com/2009/05/21/best-way-to-close-form-with-escape-key/comment-page-1/#comment-4707</link>
		<dc:creator>Luu Tai</dc:creator>
		<pubDate>Tue, 15 Dec 2009 03:53:16 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=618#comment-4707</guid>
		<description>It&#039;s so easy. :o 
Form1.KeyPreview =true;
private void Form1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode==Keys.Escape )
            {
                this.Close();
            }
        }</description>
		<content:encoded><![CDATA[<p>It&#8217;s so easy. <img src='http://goneale.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /><br />
Form1.KeyPreview =true;<br />
private void Form1_KeyDown(object sender, KeyEventArgs e)<br />
        {<br />
            if (e.KeyCode==Keys.Escape )<br />
            {<br />
                this.Close();<br />
            }<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Dar3</title>
		<link>http://goneale.com/2009/05/21/best-way-to-close-form-with-escape-key/comment-page-1/#comment-2230</link>
		<dc:creator>Dan Dar3</dc:creator>
		<pubDate>Thu, 03 Sep 2009 21:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://goneale.wordpress.com/?p=618#comment-2230</guid>
		<description>Nice post. Also see:

How to trap keystrokes in controls by using Visual C#
http://support.microsoft.com/kb/320584</description>
		<content:encoded><![CDATA[<p>Nice post. Also see:</p>
<p>How to trap keystrokes in controls by using Visual C#<br />
<a href="http://support.microsoft.com/kb/320584" rel="nofollow">http://support.microsoft.com/kb/320584</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

