<?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 object88</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/object88/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 object88</title>
		<link>http://channel9.msdn.com/Niners/object88/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/object88/Discussions</link>
	<language>en</language>
	<pubDate>Tue, 18 Jun 2013 05:40:39 GMT</pubDate>
	<lastBuildDate>Tue, 18 Jun 2013 05:40:39 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Coffeehouse - Agile methods for Longhorn?</title>
		<description><![CDATA[<p>My whiteboard has been indespensible in terms of keeping track of my extreme programming tasks.&nbsp; <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' />&nbsp; And NUnit / NMock have been indespensible in terms of testing.&nbsp; I can re-test 80% of my code in under 2 minutes, including all those odd-ball special test
 cases that a human is bound to forget.<br>
<br>
Agile programming isn't the end-all / be-all, but it's been really helpful on my current project.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/25887-Agile-methods-for-Longhorn/46dba7407cbc4e3da9999dea013195d8#46dba7407cbc4e3da9999dea013195d8</link>
		<pubDate>Fri, 29 Oct 2004 18:36:06 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/25887-Agile-methods-for-Longhorn/46dba7407cbc4e3da9999dea013195d8#46dba7407cbc4e3da9999dea013195d8</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - I LOVE INTERNET EXPLORER!</title>
		<description><![CDATA[<p><blockquote>
<div>Blkbam wrote:</div>
<div>
<blockquote>
<table>
<tbody>
<tr>
<td><img src="/Themes/redesign/images/icon-quote.gif"></td>
<td><strong>object88 wrote:</strong> <i>Tabbed browsing saves me untold amounts of screen clutter.</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
So does a second monitor.</div>
</blockquote>
<br>
<br>
You try to convince my boss that I need a second monitor, not to mention a second graphics card or a whole new one to support multiple monitors.<br>
<br>
You try to convince my wife (or even me!) that it's better to spend $500&#43; on a second decent LCD-- there's no way or room to go back to a CRT-- when instead it could be spent on a vacation or other fun project.<br>
<br>
Second monitor?&nbsp; Not gonna happen.&nbsp; Firefox / tabbed browsing?&nbsp; Been happening for a long time now.&nbsp; <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/25392-I-LOVE-INTERNET-EXPLORER/093b695a7c8b4bc1b4649dea01311b42#093b695a7c8b4bc1b4649dea01311b42</link>
		<pubDate>Fri, 29 Oct 2004 18:31:09 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/25392-I-LOVE-INTERNET-EXPLORER/093b695a7c8b4bc1b4649dea01311b42#093b695a7c8b4bc1b4649dea01311b42</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>56</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - I LOVE INTERNET EXPLORER!</title>
		<description><![CDATA[<p><blockquote>
<div>Loadsgood wrote:</div>
<div>&quot;I want tabbed browsing. Waa waa waa!&quot; Well put <a href="http://www.itnews.com.au/msoft_storycontent.asp?ID=9&amp;Art_ID=22173" target="_blank">
this</a>&nbsp;up your pipe and smoke it. Now do you want tabbed browsing?</div>
</blockquote>
<br>
<br>
There are bugs in IE, but you still want to use it, right?&nbsp; A bug in something does not make me stop wanting it.&nbsp; Tabbed browsing saves me untold amounts of screen clutter.<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/25392-I-LOVE-INTERNET-EXPLORER/9f0054c5af9d42a8b62b9dea013115c5#9f0054c5af9d42a8b62b9dea013115c5</link>
		<pubDate>Tue, 26 Oct 2004 19:31:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/25392-I-LOVE-INTERNET-EXPLORER/9f0054c5af9d42a8b62b9dea013115c5#9f0054c5af9d42a8b62b9dea013115c5</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>56</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .NET WinForms toolbar glitch?</title>
		<description><![CDATA[<p>Darn.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/25176-NET-WinForms-toolbar-glitch/aba3f5a3e5b74df085519dea01159466#aba3f5a3e5b74df085519dea01159466</link>
		<pubDate>Fri, 22 Oct 2004 16:58:09 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/25176-NET-WinForms-toolbar-glitch/aba3f5a3e5b74df085519dea01159466#aba3f5a3e5b74df085519dea01159466</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Specified cast is not valid in asp.net/c# foreach loop</title>
		<description><![CDATA[<p>Although with just plane &quot;as&quot;, you still have to check for null.&nbsp; I'd like so see something like<br>
<br>
with (CheckBox chk = o as CheckBox)<br>
{<br>
&nbsp;&nbsp;&nbsp;// body<br>
}<br>
<br>
where body is only executed if o is a CheckBox.&nbsp; This could be expanded out to...<br>
<br>
with (CheckBox chk = o as CheckBox)<br>
{<br>
&nbsp;&nbsp;&nbsp;// body<br>
}<br>
else with (ToolBarButton tbb = o as ToolBarButton)<br>
{<br>
&nbsp;&nbsp;&nbsp;// other body<br>
}<br>
else<br>
{<br>
&nbsp;&nbsp;&nbsp;// another body<br>
}<br>
<br>
That would be useful to me, and quite compact.&nbsp; But I think &quot;with&quot; is a VB keyword, isn't it?<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24895-Specified-cast-is-not-valid-in-aspnetc-foreach-loop/47e3ef001c5347508be79dea01158d5b#47e3ef001c5347508be79dea01158d5b</link>
		<pubDate>Fri, 22 Oct 2004 16:56:12 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24895-Specified-cast-is-not-valid-in-aspnetc-foreach-loop/47e3ef001c5347508be79dea01158d5b#47e3ef001c5347508be79dea01158d5b</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>12</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .NET WinForms toolbar glitch?</title>
		<description><![CDATA[<p>Is this a glitch or am I doing something wrong?<br>
<br>
I create a .NET ToolBar, and dock it on the right or left of some control.&nbsp; I fill it up with ToolBarButtons, some of which are seperators.&nbsp; Where there are seperators, there is a vertical line to the right of the icon, and one below.&nbsp; Although, this does not
 happen if the last button before a seperator is a dropdown button.<br>
<br>
When the toolbar is docked on the top, I only get one seperator, as expected.<br>
<br>
I haven't played with this much, so there is quite likely something I've missed.&nbsp; Thanks for any advice!<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/25176-NET-WinForms-toolbar-glitch/25176#25176</link>
		<pubDate>Fri, 22 Oct 2004 01:04:51 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/25176-NET-WinForms-toolbar-glitch/25176#25176</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .NET control designer help</title>
		<description><![CDATA[<p>Thanks!&nbsp; A Microsoft guy on another site recommended that I call OnComponentChanging / OnComponentChanged directly, and that ended up taking care of the problem.</p>
<p>What will participating in a DesignerTransaction get me?&nbsp; I'm wondering if I should change my code to follow your suggestions.</p>
<p>Thanks again!!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24710-NET-control-designer-help/8dcc6fa6c6b24b69a9cc9dea011587ec#8dcc6fa6c6b24b69a9cc9dea011587ec</link>
		<pubDate>Fri, 22 Oct 2004 01:00:14 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24710-NET-control-designer-help/8dcc6fa6c6b24b69a9cc9dea011587ec#8dcc6fa6c6b24b69a9cc9dea011587ec</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .NET control designer help</title>
		<description><![CDATA[<p>OK, I've been coming up with a few more test scenarios.<br>
<br>
In one, I have a simple string property on Foo, let's say, Foo.Number.&nbsp; When I go to the designer property page to edit it, I create a modal form with a text box and enter a new value.&nbsp; This works-- I can enter the new value, and the parent form page gets marked
 as changed, so I can hit Ctrl-S, and the changed value gets persisted out to the Windows Form Designer generated code.<br>
<br>
In another, I have another simple string property on Foo, named DropNumber.&nbsp; I chose this name because when I edit the value in the designer, I have a dropdown with a textbox in it.&nbsp; This also works.<br>
<br>
In a third, I have an object, FooOptionsDrop, which has an drop-down (textbox) editor that only manipulates one property on FooOptionsDrop (not on the actual Foo control).&nbsp; That does NOT work.<br>
<br>
So, I'm drawing the conclusion that the problem lies with editting an object; no matter what kind of editor I use, the parent form fails to recognize that I've made a change.&nbsp; If the property in question is directly a part of the control, the changes are recognized.<br>
<br>
Again, please, tell me why!&nbsp; What do I need to do so that the parent form recognizes changes to a control's property object?&nbsp; It looks like changes to the DynamicProperties on a form are recognized, but I can't find anything that talks about how it works (nor
 does it show up in Reflector).<br>
<br>
Help!!<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24710-NET-control-designer-help/809c382cd2964fc69f469dea0115879a#809c382cd2964fc69f469dea0115879a</link>
		<pubDate>Wed, 20 Oct 2004 01:36:29 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24710-NET-control-designer-help/809c382cd2964fc69f469dea0115879a#809c382cd2964fc69f469dea0115879a</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Specified cast is not valid in asp.net/c# foreach loop</title>
		<description><![CDATA[<p>Does using &quot;as&quot; not throw a cast exception if &quot;o&quot; is of the wrong type?&nbsp; Neat, I didn't know that... I always did soemthing like<br>
<br>
if (o is CheckBox)<br>
{<br>
&nbsp;&nbsp;&nbsp;CheckBox chk = (CheckBox)chk;<br>
&nbsp;&nbsp;&nbsp;// ...<br>
}<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24895-Specified-cast-is-not-valid-in-aspnetc-foreach-loop/3a01cc5691f94127b3729dea01158c4e#3a01cc5691f94127b3729dea01158c4e</link>
		<pubDate>Tue, 19 Oct 2004 20:34:33 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24895-Specified-cast-is-not-valid-in-aspnetc-foreach-loop/3a01cc5691f94127b3729dea01158c4e#3a01cc5691f94127b3729dea01158c4e</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>12</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Specified cast is not valid in asp.net/c# foreach loop</title>
		<description><![CDATA[<p>Perhaps there is some non-CheckBox control within pnlCheckboxes?&nbsp; Can you step through the code and manually validate that each item in pnlCheckboxes.Controls is a CheckBox?&nbsp; If not, the foreach will throw the error.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24895-Specified-cast-is-not-valid-in-aspnetc-foreach-loop/0cbff05c7a2d4752b0259dea01158bfd#0cbff05c7a2d4752b0259dea01158bfd</link>
		<pubDate>Tue, 19 Oct 2004 20:09:01 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24895-Specified-cast-is-not-valid-in-aspnetc-foreach-loop/0cbff05c7a2d4752b0259dea01158bfd#0cbff05c7a2d4752b0259dea01158bfd</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>12</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .NET control designer help</title>
		<description><![CDATA[<p>Argh.&nbsp; This is driving me crazy.&nbsp; I'm going to concentrate on one property on my ViewOptions object: InitialMode.&nbsp; Since this is an enum, I implemented ResetInitialMode and ShouldSerializeInitialMode.&nbsp; (I know the documentation says you can use the DefaultValue
 Attribute, but that doesn't seem to work.)&nbsp; On the Viewer control, there's the Options property as I mentioned-- I've attached DesignerSerializationVisibilty and Editor attributes to it, as I mentioned above.&nbsp; I also implemented a pair of ResetOptions and
 ShouldSerializeOptions methods, which at this point just reset and check the one property for changes.<br>
<br>
The UI editor itself is working.&nbsp; The property editor is working.&nbsp; And when the code generator gets called, it works.<br>
<br>
I cannot get the danged code generator to get called!<br>
<br>
This is what I can fathom in terms of series of events:<br>
<br>
1) I load a form into the designer which has my View.&nbsp; I select the control and get the properties page.&nbsp; I find the &quot;Options&quot; property and double-click the ellipsis to trigger my ViewOptionsEditor.<br>
<br>
2) In the ViewOptionsEditor, I create a new Options object (from the values previously set) and pass that into my ViewOptionsUIEditor, and bring up the form.&nbsp; I make a few changes in the GUI and hit OK, which brings me back into the DovumentViewEditor.&nbsp; I save
 the changes onto the original Options object.<br>
<br>
3) My View.ShouldSerializeOptions method gets called, and I return true.<br>
<br>
4) At this point, I <em>think</em> that the main form code-- the one holding my View control-- should be marked as &quot;changed&quot; in the editor, but it's not.&nbsp; If it were (and I can make it so my changing some other property, either on the form or my View control),
 then when I save the form, ViewOptions's serialization object gets called, and the form's Windows Form Designer code area gets updated.<br>
<br>
So <em><strong>why</strong></em> isn't the IDE recognizing that the Options object is getting changed in the designer?<br>
<br>
Help!<br>
</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24710-NET-control-designer-help/bb8203c9e0fc4d59a6089dea0115876e#bb8203c9e0fc4d59a6089dea0115876e</link>
		<pubDate>Tue, 19 Oct 2004 02:08:36 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24710-NET-control-designer-help/bb8203c9e0fc4d59a6089dea0115876e#bb8203c9e0fc4d59a6089dea0115876e</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .NET control designer help</title>
		<description><![CDATA[<p>A little update... in my Viewer class, the ViewOptions property is named Options.&nbsp; I changed the decloration to:<br>
<br>
<p>[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]<br>
[Editor(typeof(ViewOptionsEditor), typeof(UITypeEditor))]<br>
public ViewOptions Options {...}<br>
<br>
This has given me code in the Windows Form Designer generated code area related to Options properties which I don't have default values set for yet... which is a step in the right direction.&nbsp; However, any changes that I make in the ViewOptionsEditor (the form
 I mentioned above) are not getting persisted.&nbsp; Any advice on that?&nbsp; <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
Thanks again!<br>
</p></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24710-NET-control-designer-help/811700108111413f8f8b9dea0115873f#811700108111413f8f8b9dea0115873f</link>
		<pubDate>Mon, 18 Oct 2004 21:29:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24710-NET-control-designer-help/811700108111413f8f8b9dea0115873f#811700108111413f8f8b9dea0115873f</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Asynchronous or Synchronous WS calls</title>
		<description><![CDATA[<p><blockquote>
<div>Gravy wrote:</div>
<div>I would be interested in hearing your views on this, does everyone still use an RPC style when calling to a web service, even when the web service is your own??<br>
</div>
</blockquote>
<br>
<br>
I'm using a synchronous model, mostly because I'm far too lazy at this point to implement the obviously-better asynchronous model.&nbsp; Once I have&nbsp;a chance to spend some time with it, I'll be checking out asynchronous webservice calls.<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24310-Asynchronous-or-Synchronous-WS-calls/28e8cc80884343c2ada49dea01157045#28e8cc80884343c2ada49dea01157045</link>
		<pubDate>Mon, 18 Oct 2004 19:39:05 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24310-Asynchronous-or-Synchronous-WS-calls/28e8cc80884343c2ada49dea01157045#28e8cc80884343c2ada49dea01157045</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>13</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .NET control designer help</title>
		<description><![CDATA[<p>I need some help with a .NET form designer.&nbsp; I have a control (View) that I've written, and it has a object hanging off it (ViewOptions).&nbsp; ViewOptions is essentially a bunch of simple properties (ints, strings, enums) with the occasional changed event.&nbsp;
 For the control itself, I haven't changed the designer, but the ViewOptions shows up as a property, so I added a form to ease changes to it.<br>
<br>
I can make changes in the ViewOptions form, close that form, and reopen it, and my changes are still there.&nbsp; However, should I close the designer, all my changes go away... so how do I persist my changes to the ViewOptions object (via the form) into the user's
 code?<br>
<br>
Are there any examples out on the web that I could check out?<br>
<br>
Thanks!<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24710-NET-control-designer-help/24710#24710</link>
		<pubDate>Mon, 18 Oct 2004 19:25:46 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24710-NET-control-designer-help/24710#24710</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>7</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .NET WinForms and drawing menu items</title>
		<description><![CDATA[<p>Nevermind; just found the MeasureItem event.&nbsp; This should <em>really</em> be put into the DrawItem documentation or example, and I don't just mean a link to it at the botton.&nbsp; Something more like &quot;if you don't also implement the MeasureItem event, you're
 wasting your time&quot;.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24283-NET-WinForms-and-drawing-menu-items/db0f5734f6e449158d119dea01156b1d#db0f5734f6e449158d119dea01156b1d</link>
		<pubDate>Thu, 14 Oct 2004 01:30:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24283-NET-WinForms-and-drawing-menu-items/db0f5734f6e449158d119dea01156b1d#db0f5734f6e449158d119dea01156b1d</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>2</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .NET WinForms and drawing menu items</title>
		<description><![CDATA[<p>I want to draw the contents of a ContextMenu menu item myself, but I can't get it to work.&nbsp; I'm getting the event to draw, but the space to draw is in small.&nbsp; The context menu itself is very small onscreen, and irregardless of where the menu item is in
 the menu, the DrawItemEventArgs.Bounds X and Y are always at 0.<br>
<br>
I have tried a menu with two user-drawn menu items and no system-drawn items, and one where only the first was user-drawn (with many system-drawn ones after).<br>
<br>
It seems like the system does not know how much space to give the menu item to draw in, so it gives almost nothing.&nbsp; It also doesn't seem to want to keep track of the menu item offset (or is that something I'm supposed to do, with the DrawItemEventArgs.Index
 property?)<br>
<br>
None of the MSDN examples I've found seem to do anything my own code is doing, so I'm at a loss.&nbsp; Help?<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/24283-NET-WinForms-and-drawing-menu-items/24283#24283</link>
		<pubDate>Thu, 14 Oct 2004 01:09:24 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/24283-NET-WinForms-and-drawing-menu-items/24283#24283</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>2</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .Net, WinForms, and RadioButtons</title>
		<description><![CDATA[<p>Both good suggestions, but I have several groups of radio buttons for different purposes, and I need to know what button is selected outside of the scope of an event.<br>
<br>
I ended up writing a simple wrapper class that just manages an ArrayList of RadioButtons.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/22739-Net-WinForms-and-RadioButtons/799999efb86d43a885e89dea0114e2ef#799999efb86d43a885e89dea0114e2ef</link>
		<pubDate>Fri, 24 Sep 2004 07:56:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/22739-Net-WinForms-and-RadioButtons/799999efb86d43a885e89dea0114e2ef#799999efb86d43a885e89dea0114e2ef</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Not exactly what it was meant for...</title>
		<description><![CDATA[<p><blockquote>
<div>Sven Groot wrote:</div>
<div>So I was wondering, do any of&nbsp;you have any computer related&nbsp;stuff lying around that isn't exactly doing what it was designed to do anymore? <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></div>
</blockquote>
<br>
<br>
Quite a bit.&nbsp; I have a corner of a closet that has several ancient and dead computers that are waiting to be sacrificed in the name of art, performance or otherwise.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/22709-Not-exactly-what-it-was-meant-for/ee02bcaba9ac44068f1f9dea012d7dbe#ee02bcaba9ac44068f1f9dea012d7dbe</link>
		<pubDate>Fri, 24 Sep 2004 02:38:37 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/22709-Not-exactly-what-it-was-meant-for/ee02bcaba9ac44068f1f9dea012d7dbe#ee02bcaba9ac44068f1f9dea012d7dbe</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - .Net, WinForms, and RadioButtons</title>
		<description><![CDATA[<p>Maybe I'm hallucinating, but in the Win32 world, wasn't there a way to access a group of RadioButtons?&nbsp; So you could do something like:<br>
<br>
RadioButton checkedButton = myRadioButtonGroup.SelectedButton;<br>
<br>
or something?<br>
<br>
Is there any way to do that in .Net?&nbsp; I have a collection of 16 radio buttons, and I need to programmatically select 1... and at the moment, I've got this stupid-long switch statement calling out each radio button individually if it's to be selected.&nbsp; I.e.:<br>
<br>
RadioButton checkedButton;<br>
if (myRadioButton1.Checked)<br>
{<br>
&nbsp;&nbsp;&nbsp;checkedButton = myRadioButton1;<br>
}<br>
else if (myRadioButton2.Checked)<br>
{<br>
&nbsp;&nbsp;&nbsp;checkedButton = myRadioButton2;<br>
}<br>
...<br>
else<br>
{<br>
&nbsp;&nbsp;&nbsp;checkedButton = myRadioButton16;<br>
}<br>
<br>
<br>
That just seems silly.<br>
<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/22739-Net-WinForms-and-RadioButtons/22739#22739</link>
		<pubDate>Fri, 24 Sep 2004 02:31:30 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/22739-Net-WinForms-and-RadioButtons/22739#22739</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Double pointer in C# / .NET</title>
		<description><![CDATA[<p>Good questions, lemme throw in some more background.<br>
<br>
I'm working on a WinForms user control, and the &quot;server&quot; object is a 3rd party wrapper for a WebService object.&nbsp; At some point, the server may timeout, and any further calls on the same server object will fail.<br>
<br>
As for race conditions, that is a danger, but I'm combatting that by wrapping calls to the server object in locks on the server object itself.&nbsp; I'm only ever making one call to the server at&nbsp;a time (typically to get a bit of binary data), and I don't have to
 send any updates to the server, so I don't have to worry about inconsistent state.<br>
<br>
It's outside the realm of my control to replace the server object.&nbsp; I *may* be able to repair the object, but if the server requires a new login, I don't have the user's password.&nbsp; So it would be good if I simply responsibly reported a failure and let the application
 handle the cleanup.<br>
<br>
Yesterday, I implemented a simple wrapper object for the server object to share it as necessary.&nbsp; I think this is the solution I'll stick with.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/22440-Double-pointer-in-C--NET/a622fce07ff74ee986ec9dea0114d826#a622fce07ff74ee986ec9dea0114d826</link>
		<pubDate>Tue, 21 Sep 2004 17:08:22 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/22440-Double-pointer-in-C--NET/a622fce07ff74ee986ec9dea0114d826#a622fce07ff74ee986ec9dea0114d826</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Why is there there no - Office Home Edition</title>
		<description><![CDATA[<p>What about Microsoft Works?&nbsp; I don't know what it would run in Europe, but stateside, you can get Works 8 directly from MS for $50, which includes a word processor, spreadsheet, calendar, email, and powerpoint viewer.&nbsp; Supposed to be Word and Excel compatible.&nbsp;
 I have no idea what the specific feature differences are.<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/22393-Why-is-there-there-no-Office-Home-Edition/bdb72f5effe8458f8e669dea012d1355#bdb72f5effe8458f8e669dea012d1355</link>
		<pubDate>Mon, 20 Sep 2004 21:12:47 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/22393-Why-is-there-there-no-Office-Home-Edition/bdb72f5effe8458f8e669dea012d1355#bdb72f5effe8458f8e669dea012d1355</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>12</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Double pointer in C# / .NET</title>
		<description><![CDATA[<p>I have a&nbsp;service object that I want to pass around to a bunch of child objects.&nbsp; This service may go dead at various points, so I'll need to replace it from time to time.<br>
<br>
In C&#43;&#43;, I could have kept a double pointer around, and when the object went belly up, I would just have to&nbsp;fix the original pointer.<br>
<br>
Is this possible in C#?&nbsp; I would have thought I could have used &quot;ref&quot;, but that seems to only apply to parameters, not fields.<br>
<br>
Or do I need to suck it up and either create a wrapper object that maintains the service reference, or just update all child objects when the service goes dead?<br>
<br>
C&#43;&#43; example:<br>
<br>
class CMainObject<br>
{<br>
&nbsp;&nbsp;&nbsp;CFoo *pFoo;<br>
<br>
&nbsp;&nbsp;&nbsp;void ReplaceFoo(CFoo *pNewFoo)<br>
&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this-&gt;pFoo = pNewFoo;<br>
&nbsp;&nbsp;&nbsp;}<br>
<br>
&nbsp;&nbsp;&nbsp;void CreateChildObject()<br>
&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CSubObject *pSubObject = new CSubObject(&amp;pFoo);<br>
&nbsp;&nbsp;&nbsp;}<br>
}<br>
<br>
class CSubObject<br>
{<br>
&nbsp;&nbsp;&nbsp;CFoo **ppFoo;<br>
<br>
&nbsp;&nbsp;&nbsp;CSubFoo(CFoo **ppFoo)<br>
&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this-&gt;ppFoo = ppFoo;<br>
&nbsp;&nbsp;&nbsp;}<br>
<br>
&nbsp;&nbsp;&nbsp;void DoSomething()<br>
&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*ppFoo-&gt;DoSomethingInteresting();<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*ppFoo-&gt;DoSomethingBoring();<br>
&nbsp;&nbsp;&nbsp;}<br>
}<br>
<br>
(I'm sure I screwed something up in the example above; it's been a good long while since I've used C&#43;&#43;.)<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/22440-Double-pointer-in-C--NET/22440#22440</link>
		<pubDate>Mon, 20 Sep 2004 20:16:22 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/22440-Double-pointer-in-C--NET/22440#22440</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How to force a process-focus switch in .NET?</title>
		<description><![CDATA[<p>Thanks!&nbsp; It looks like the Process.MainWindowHandle should do get the handle for SetForegroundWindow.&nbsp; Thanks again for the really-frickin'-fast help!<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/22130-How-to-force-a-process-focus-switch-in-NET/cc250b42b4dd45eebc129dea0114b77d#cc250b42b4dd45eebc129dea0114b77d</link>
		<pubDate>Sat, 18 Sep 2004 01:13:34 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/22130-How-to-force-a-process-focus-switch-in-NET/cc250b42b4dd45eebc129dea0114b77d#cc250b42b4dd45eebc129dea0114b77d</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How to force a process-focus switch in .NET?</title>
		<description><![CDATA[<p>I have an application which launches another app (to edit a file) based on some user activity.&nbsp; Due to historical reasons, I can't change the UI, so the user may be able to do the same thing again.&nbsp; I want to be able to programatically switch the focused
 process to the one I already launched.<br>
<br>
How do I do this?<br>
<br>
I've found out how to launch a process (System.Diagnostics.Process.Start(...)) and check to see if it's still running (Process.HasExited), but I don't see anything that gives that process focus.<br>
<br>
I'm more than happy to use the Win32 Shell API, if there's something in there.&nbsp; I'm just not very familiar with it.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/22130-How-to-force-a-process-focus-switch-in-NET/22130#22130</link>
		<pubDate>Sat, 18 Sep 2004 00:40:32 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/22130-How-to-force-a-process-focus-switch-in-NET/22130#22130</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - What would *you* say....</title>
		<description><![CDATA[<p>Like many others have said, the key lies in asking &quot;what do you want to do&quot;?<br>
<br>
I'm <em>guessing</em> that the average user wants web and&nbsp;email, and maybe some combination of a little word processing, digital music and games... and not much else for now.&nbsp; I'm also guessing that the average user does not have a lot of money to throw around.&nbsp;
 That said, get a cheap (i.e., NOT bleeding edge) Windows machine.&nbsp; Take a little time to learn how to keep it secure (i.e., learn about Windows Updates, good email practices, etc.), and you're good.<br>
<br>
Once you start getting into particular hobbies or interests-- video editting, music production, hacking (by which I mean hardcore programming, not cracking), gaming, web design-- you have particular needs.<br>
<br>
I know a little about some of those hobbies:<br>
<br>
For music production, get yourself a Windows machine-- there's a lot of keen software and hardware, and a lot of it just works.&nbsp; You can end up spending a lot of money... or not much at all.<br>
<br>
For hacking, you go with Linux.&nbsp; You can get the source to just about anything, and tinker until the cows come home... maybe even after.&nbsp; There are a million projects to work on, and you'll never run out of things to tweak.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/18720-What-would-you-say/10eb2fcd8dc44bd098429dea0128867e#10eb2fcd8dc44bd098429dea0128867e</link>
		<pubDate>Fri, 27 Aug 2004 18:58:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/18720-What-would-you-say/10eb2fcd8dc44bd098429dea0128867e#10eb2fcd8dc44bd098429dea0128867e</guid>
		<dc:creator>object88</dc:creator>
		<slash:comments>21</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/object88/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>