<?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/"
	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>Comments on: User Control Closing Event</title>
	<atom:link href="http://ira.me.uk/2007/10/10/usercontrol-closing-event/feed/" rel="self" type="application/rss+xml" />
	<link>http://ira.me.uk/2007/10/10/usercontrol-closing-event/</link>
	<description>.NET Haberdasher</description>
	<lastBuildDate>Tue, 08 Jun 2010 03:15:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: scott</title>
		<link>http://ira.me.uk/2007/10/10/usercontrol-closing-event/#comment-138</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Thu, 11 Sep 2008 23:47:48 +0000</pubDate>
		<guid isPermaLink="false">http://castalian.wordpress.com/2007/10/10/usercontrol-closing-event/#comment-138</guid>
		<description>This solution has zero scalability and does not solve the problem of a user control closing...

What if the user control is in another container, in yet another container etc...what if its buried down 5 or more levels?

What if your application uses dockable windows that can be loaded up and destroyed during the lifetime of the application?

The only thing this code does is tell the user control the main outer app window is shutting down...and one can simply call a method in the user control from the form closing event to achieve the same result...

Sorry bud

This does not inform the user control that IT IS closing...

Try again

SW</description>
		<content:encoded><![CDATA[<p>This solution has zero scalability and does not solve the problem of a user control closing&#8230;</p>
<p>What if the user control is in another container, in yet another container etc&#8230;what if its buried down 5 or more levels?</p>
<p>What if your application uses dockable windows that can be loaded up and destroyed during the lifetime of the application?</p>
<p>The only thing this code does is tell the user control the main outer app window is shutting down&#8230;and one can simply call a method in the user control from the form closing event to achieve the same result&#8230;</p>
<p>Sorry bud</p>
<p>This does not inform the user control that IT IS closing&#8230;</p>
<p>Try again</p>
<p>SW</p>
]]></content:encoded>
	</item>
</channel>
</rss>
