<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by BenDi</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/BenDi/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by BenDi</title>
		<link>http://channel9.msdn.com/Niners/BenDi/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/BenDi/Discussions</link>
	<language>en</language>
	<pubDate>Fri, 24 May 2013 03:16:57 GMT</pubDate>
	<lastBuildDate>Fri, 24 May 2013 03:16:57 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Tech Off - How do I show a control outside the Form?</title>
		<description><![CDATA[<p>Yup, that did the trick. Thanks!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/170322-How-do-I-show-a-control-outside-the-Form/4d53135fdd8d49c7b1609dea013a495a#4d53135fdd8d49c7b1609dea013a495a</link>
		<pubDate>Sat, 25 Mar 2006 15:12:55 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/170322-How-do-I-show-a-control-outside-the-Form/4d53135fdd8d49c7b1609dea013a495a#4d53135fdd8d49c7b1609dea013a495a</guid>
		<dc:creator>BenDi</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BenDi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How do I show a control outside the Form?</title>
		<description><![CDATA[<p>Hi,<br>
<br>
I'm trying to make a VS-like auto-complete control and can't figure out how to display it so it isn't clipped by the main Form. In VS, it looks like that: (as you can see, the auto-complete list is not clipped by the border of the VS main form)<br>
<img src="http://dittes.homepage.t-online.de/PopupQuestion.jpg"><br>
<br>
I tried to put my selection list into a control which got me that far:<br>
<img src="http://dittes.homepage.t-online.de/PopupStatus.jpg"><br>
<br>
Does anyone have an idea how to get a control shown over the bounds of the form? Sadly, taking another form to put it in is not an option since the thing has to be visible while the focus is on the TextBox.<br>
<br>
Cheers,<br>
<br>
B.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/170322-How-do-I-show-a-control-outside-the-Form/170322#170322</link>
		<pubDate>Thu, 23 Mar 2006 15:39:36 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/170322-How-do-I-show-a-control-outside-the-Form/170322#170322</guid>
		<dc:creator>BenDi</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BenDi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - To WPF or not to WPF?</title>
		<description><![CDATA[<p>From my experiments with Sparkle (the <a href="http://www.microsoft.com/products/expression/en/interactive_designer/id_free_trial.aspx">
Expression WPF Designer</a>) it's not only fun and fast to build really cool apps but they seem to run stable (I never saw one of mine crash... didnt try running them for very long though). I'd say just give it a shot.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/157983-To-WPF-or-not-to-WPF/dad5be18d1034c8e972b9dea0136c902#dad5be18d1034c8e972b9dea0136c902</link>
		<pubDate>Sat, 11 Feb 2006 02:36:29 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/157983-To-WPF-or-not-to-WPF/dad5be18d1034c8e972b9dea0136c902#dad5be18d1034c8e972b9dea0136c902</guid>
		<dc:creator>BenDi</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BenDi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Generic Type Casting - Unsolveable?</title>
		<description><![CDATA[<p>Thanks for the feedback so far. You're right that an interface would solve it if it was about modifying the Bs.<br>
<br>
But the truth is that the core logic&nbsp;doesn't really care about anything B implements. It only wants to create the business objects (dynamically creating Bs, but working with them as As) and put them into the list.<br>
<br>
The calling component however knows that it does not just get any list from the core but a list of Bs, so it thinks it should be possible to actually get a typed list of Bs back from the core.<br>
<br>
I realize that this is more of a convenience issue, but isn't generic typing all about preventing coding errors through type safety? If&nbsp;I get a list of As back and only I know that they are all Bs, that doesn't measure up to that safety.<br>
<br>
BTW: What really puzzles me about all that business is that Array implicitely has this functionality (B[] is not really derived from A[], but still the 'as' operator works) - while it seems to be impossible to replicate this behaviour in&nbsp;my own&nbsp;code.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/134254-Generic-Type-Casting-Unsolveable/a8f3967db1f5409da2379dea01300d45#a8f3967db1f5409da2379dea01300d45</link>
		<pubDate>Sat, 19 Nov 2005 00:11:21 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/134254-Generic-Type-Casting-Unsolveable/a8f3967db1f5409da2379dea01300d45#a8f3967db1f5409da2379dea01300d45</guid>
		<dc:creator>BenDi</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BenDi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Generic Type Casting - Unsolveable?</title>
		<description><![CDATA[<p>What is wrong with the formatting? If I can make anything clearer I'd be happy to answer a question, but I'm pretty sure it makes sense this way.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/134254-Generic-Type-Casting-Unsolveable/06bf6413ce5945bbbcf89dea01300c9d#06bf6413ce5945bbbcf89dea01300c9d</link>
		<pubDate>Fri, 18 Nov 2005 04:05:12 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/134254-Generic-Type-Casting-Unsolveable/06bf6413ce5945bbbcf89dea01300c9d#06bf6413ce5945bbbcf89dea01300c9d</guid>
		<dc:creator>BenDi</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BenDi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Generic Type Casting - Unsolveable?</title>
		<description><![CDATA[<p>Hello,<br>
<br>
I have run on a problem and cant seem to find a way out of it. <br>
<br>
Basically, I need to do for generic collections what <br>
<br>
<font color="#000080">DerivedType[] DT = new DerivedType[10];<br>
BaseType[] BT = DT as BaseType[];</font><br>
&nbsp;<br>
does for arrays: to cast the generic type down in the hierarchy. It struck me as a bit odd that List&lt;DerivedType&gt; is not convertible to List&lt;BaseType&gt;, so I started to investigate. Let me give an example:<br>
<br>
<font color="#000080">public class A<br>
{<br>
...<br>
}<br>
<br>
public class BusinessLogic<br>
{<br>
&nbsp;&nbsp; public static void FillList(SomeListClass&lt;A&gt; L)<br>
&nbsp;&nbsp; {<br>
&nbsp;&nbsp; ...<br>
&nbsp;&nbsp; }<br>
}<br>
<br>
// and in another component:<br>
public class B : A <br>
{<br>
...<br>
}<br>
<br>
public class CallingCode<br>
{<br>
&nbsp;&nbsp; public static SomeListClass&lt;B&gt; GetList()<br>
&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp; // create&nbsp;a list of Bs<br>
&nbsp;&nbsp;&nbsp;&nbsp; // call BusinessLogic.FillList<br>
&nbsp;&nbsp;&nbsp;&nbsp; // return list<br>
&nbsp;&nbsp; }<br>
}<br>
</font><br>
The catch is that I want the core business logic to output lists that are conveniently typed in the (dynamicly determined) fitting type of the business objects. Since the core logic does not yet know about those types and they are dynamically assigned, it can
 only work on Lists of 'A'.<br>
<br>
There is no way around this, I have to be able to create a list of As from a list of Bs. But of course it's not possible to just copy the list or even perform an array cast at the low level because the core logic adds a lot of objects (extending the list) and
 they should be dynamically seen in the original list of Bs. All I need to do is to 'reinterpret' the list of Bs as a list of As.<br>
<br>
It would be no problem to design a list from ground up to support this, but I have spent some time thinking about&nbsp;it and&nbsp;cant see any solution, so Im happy about any thoughts you might have.<br>
<br>
B.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/134254-Generic-Type-Casting-Unsolveable/134254#134254</link>
		<pubDate>Fri, 18 Nov 2005 02:59:58 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/134254-Generic-Type-Casting-Unsolveable/134254#134254</guid>
		<dc:creator>BenDi</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BenDi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - What about Mono?</title>
		<description><![CDATA[<p>Ok, now we have all the standard arguments out of the way - thanks so far.<br>
The thing I'm wondering about is the potential that no one sees in Mono. Why does Mono compete with MS? I hope you dont think that all programs written in Mono are under the GPL... (and in what way does Novell gain from Mono, Jeremy?)<br>
I mean why did MS make the .NET platform free in the first place? In my opinion, they did it because they hoped for the broad acceptance of the community, so that people would start using it because its a great platform.<br>
Do you have any idea how many more people will program for .NET if it runs on Linux, Unix, Mac... I mean seriously, isn't this a huge opportunity for MS to start selling products to all those other users - without any more effort than to bring the managed world
 there (for instance by providing a bit System.Windows.Forms code)?<br>
I'm open for all the different opinions you might (and will <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /> have.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/16540-What-about-Mono/6d781b4deeed447fb0d29dea012623ce#6d781b4deeed447fb0d29dea012623ce</link>
		<pubDate>Wed, 11 Aug 2004 18:53:09 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/16540-What-about-Mono/6d781b4deeed447fb0d29dea012623ce#6d781b4deeed447fb0d29dea012623ce</guid>
		<dc:creator>BenDi</dc:creator>
		<slash:comments>41</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BenDi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - What about Mono?</title>
		<description><![CDATA[<p>This is a thing that is on my mind for a long time: What does the MS comunity think about
<a href="http://www.mono-project.com/about/index.html">Mono</a>? I have talked with some guys in the Mono dev newsgroup and was surprised how little Microsoft seems to care about the thing.<br>
Wasn't .NET supposed to be a plattform-indepent system? (Well it is, but the only
<em>supported</em> plattform still is Windows...)<br>
So the important questions are: Why shouldn't MS support Mono? How&nbsp;could MS support Mono?<br>
Just tell me what you think...</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/16540-What-about-Mono/16540#16540</link>
		<pubDate>Wed, 11 Aug 2004 17:59:45 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/16540-What-about-Mono/16540#16540</guid>
		<dc:creator>BenDi</dc:creator>
		<slash:comments>41</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BenDi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Reference Parameters in C#</title>
		<description><![CDATA[<p>If you only want to call methods on an existing object, there is no need to pass it as 'ref'.<br>
<br>
void DoFoo(IFoo param)<br>
&nbsp;&nbsp;&nbsp;{param.Modify();}<br>
<br>
will work just fine. And there you will have downcasting.<br>
<br>
Cheers<br>
<br>
Ben<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/11450-Reference-Parameters-in-C/782e7721c00c4ebbb0db9dea0111a923#782e7721c00c4ebbb0db9dea0111a923</link>
		<pubDate>Sat, 03 Jul 2004 11:35:58 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/11450-Reference-Parameters-in-C/782e7721c00c4ebbb0db9dea0111a923#782e7721c00c4ebbb0db9dea0111a923</guid>
		<dc:creator>BenDi</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/BenDi/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>