<?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 for Always Get Better</title>
	<atom:link href="http://www.alwaysgetbetter.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alwaysgetbetter.com/blog</link>
	<description>Never stop looking for ways to improve</description>
	<pubDate>Thu, 20 Nov 2008 08:05:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>Comment on C#: Form.Close() vs Form.Dispose() by lellis</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/04/04/c-formclose-vs-formdispose/#comment-2005</link>
		<dc:creator>lellis</dc:creator>
		<pubDate>Wed, 05 Nov 2008 13:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/2008/04/04/c-formclose-vs-formdispose/#comment-2005</guid>
		<description>"Which to use? If you have no logic in the form’s close methods and don’t intend to re-use the form, go with Dispose().  Otherwise, go with Close().  Some programmers aren’t sure which to use, and they use both - Close() then Dispose()"

Actually, sometimes it is better to call dispose IF you have logic in the close event!  For example, I have a form with logic in the closing event.
The logic just cancels the close.  At some point, I *really* want to close the form, and the easiest way to do it is to call the dispose method.  This 
way I don't need special logic in the closing event to deal with the special case.</description>
		<content:encoded><![CDATA[<p>&#8220;Which to use? If you have no logic in the form’s close methods and don’t intend to re-use the form, go with Dispose().  Otherwise, go with Close().  Some programmers aren’t sure which to use, and they use both - Close() then Dispose()&#8221;</p>
<p>Actually, sometimes it is better to call dispose IF you have logic in the close event!  For example, I have a form with logic in the closing event.<br />
The logic just cancels the close.  At some point, I *really* want to close the form, and the easiest way to do it is to call the dispose method.  This<br />
way I don&#8217;t need special logic in the closing event to deal with the special case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C#: Form.Close() vs Form.Dispose() by James</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/04/04/c-formclose-vs-formdispose/#comment-1980</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sun, 02 Nov 2008 22:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/2008/04/04/c-formclose-vs-formdispose/#comment-1980</guid>
		<description>In this case it makes sense to call both.  Or call .Close() within a using construct.  It allows the most graceful shutdown for a form, frees up resources right away, and suppresses the finalizer.</description>
		<content:encoded><![CDATA[<p>In this case it makes sense to call both.  Or call .Close() within a using construct.  It allows the most graceful shutdown for a form, frees up resources right away, and suppresses the finalizer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The 8 Month Mark by Allen Taylor</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/08/16/the-8-month-mark/#comment-836</link>
		<dc:creator>Allen Taylor</dc:creator>
		<pubDate>Sat, 16 Aug 2008 21:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/?p=44#comment-836</guid>
		<description>Nice writing.  You are on my RSS reader now so I can read more from you down the road.

Allen Taylor</description>
		<content:encoded><![CDATA[<p>Nice writing.  You are on my RSS reader now so I can read more from you down the road.</p>
<p>Allen Taylor</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Internet Explorer URL Character Limit is 2,083 by Grokodile</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/08/12/internet-explorer-url-character-limit-is-2083/#comment-821</link>
		<dc:creator>Grokodile</dc:creator>
		<pubDate>Wed, 13 Aug 2008 01:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/?p=46#comment-821</guid>
		<description>Thanks!

You'd be surprised.  We probably reject more blogs than we approve... and generally all we want is real blogs with real content written by real people.</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
<p>You&#8217;d be surprised.  We probably reject more blogs than we approve&#8230; and generally all we want is real blogs with real content written by real people.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Internet Explorer URL Character Limit is 2,083 by mwilson</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/08/12/internet-explorer-url-character-limit-is-2083/#comment-820</link>
		<dc:creator>mwilson</dc:creator>
		<pubDate>Wed, 13 Aug 2008 00:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/?p=46#comment-820</guid>
		<description>That's certainly true.  It's cool that you Grokodile folks take the time to check out newly submitted blogs - you have a neat site!</description>
		<content:encoded><![CDATA[<p>That&#8217;s certainly true.  It&#8217;s cool that you Grokodile folks take the time to check out newly submitted blogs - you have a neat site!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Internet Explorer URL Character Limit is 2,083 by Grokodile</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/08/12/internet-explorer-url-character-limit-is-2083/#comment-819</link>
		<dc:creator>Grokodile</dc:creator>
		<pubDate>Wed, 13 Aug 2008 00:43:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/?p=46#comment-819</guid>
		<description>Microsoft is generally arbitrary and capricious... ;)</description>
		<content:encoded><![CDATA[<p>Microsoft is generally arbitrary and capricious&#8230; <img src='http://www.alwaysgetbetter.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C#: Form.Close() vs Form.Dispose() by mwilson</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/04/04/c-formclose-vs-formdispose/#comment-347</link>
		<dc:creator>mwilson</dc:creator>
		<pubDate>Sat, 31 May 2008 21:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/2008/04/04/c-formclose-vs-formdispose/#comment-347</guid>
		<description>Yes - Form.Dispose() does close the form.  But it doesn't call the Closing and Closed methods.  If you have any code logic triggered by the form being closed, it will NOT be executed when the form is Disposed, unless you make a call to Close() first.  Otherwise the form is just silently taken away.</description>
		<content:encoded><![CDATA[<p>Yes - Form.Dispose() does close the form.  But it doesn&#8217;t call the Closing and Closed methods.  If you have any code logic triggered by the form being closed, it will NOT be executed when the form is Disposed, unless you make a call to Close() first.  Otherwise the form is just silently taken away.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on C#: Form.Close() vs Form.Dispose() by NPT</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/04/04/c-formclose-vs-formdispose/#comment-339</link>
		<dc:creator>NPT</dc:creator>
		<pubDate>Fri, 30 May 2008 17:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/2008/04/04/c-formclose-vs-formdispose/#comment-339</guid>
		<description>"Form.Dispose() destroys the dialog and frees its resources back to the operating system.   It does not call the form’s Closing() and Closed() methods. Once disposed, you may not recall a form."

It certainly does Close the form.  When disposing a form, it releases all resources that its using, including the resources keeping the form on the screen.  Here's an example...

using(Form f = new Form())
{
     f.Show();

     // Do some stuff
}

This will close AND dispose the form without ever calling Close.</description>
		<content:encoded><![CDATA[<p>&#8220;Form.Dispose() destroys the dialog and frees its resources back to the operating system.   It does not call the form’s Closing() and Closed() methods. Once disposed, you may not recall a form.&#8221;</p>
<p>It certainly does Close the form.  When disposing a form, it releases all resources that its using, including the resources keeping the form on the screen.  Here&#8217;s an example&#8230;</p>
<p>using(Form f = new Form())<br />
{<br />
     f.Show();</p>
<p>     // Do some stuff<br />
}</p>
<p>This will close AND dispose the form without ever calling Close.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How To Send Ctrl+Alt+Delete Using Terminal Services by Micke</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/04/03/how-to-send-ctrlaltdelete-using-terminal-services/#comment-113</link>
		<dc:creator>Micke</dc:creator>
		<pubDate>Wed, 16 Apr 2008 19:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/2008/04/03/how-to-send-ctrlaltdelete-using-terminal-services/#comment-113</guid>
		<description>Great tip, thanks!</description>
		<content:encoded><![CDATA[<p>Great tip, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Maintaining SQL Connections in ASP.NET by Always Get Better &#187; Blog Archive &#187; SQL Connections in ASP.NET - What you learned is WRONG!</title>
		<link>http://www.alwaysgetbetter.com/blog/2008/02/11/maintaining-sql-connections-in-aspnet/#comment-3</link>
		<dc:creator>Always Get Better &#187; Blog Archive &#187; SQL Connections in ASP.NET - What you learned is WRONG!</dc:creator>
		<pubDate>Fri, 15 Feb 2008 19:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.alwaysgetbetter.com/blog/2008/02/11/maintaining-sql-connections-in-aspnet/#comment-3</guid>
		<description>[...] [This is a followup to: Maintaining SQL Connections in ASP.NET] [...]</description>
		<content:encoded><![CDATA[<p>[...] [This is a followup to: Maintaining SQL Connections in ASP.NET] [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
