<?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>Thu, 01 Jul 2010 10:21:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<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>
