Hi, We have set up a dasBlog-based blog for inter-department communications but most people here have never even heard of RSS let alone have an RSS reader. Is...
And this wouldn't be a problem but I have a popular article on "NullScript, the language about nothing" and all my file names start with 'NullScript'. And even...
Hi, I have a WinForm field of a type that implements IDisposable. Where should I put the Dispose call? There seem to me to be two obvious possibilities:- An...
... Component Resource Management The Windows Forms Designer also generates code that enables components to automatically add them to their container's list of...
Hi Chris, Thanks, and a good thought. Sadly this type does not implement IComponent so it's not compatible with components.Add. I didn't write it; and I do not...
I think I'd subscribe to the Form's Disposing event and call the Dispose method on each non-component manually (you know, like Shawn already said.). From:...
But not as eloquently ; ) Thanks, Shawn Wildermuth http://adoguy.com <http://adoguy.com/> http://wildermuthconsulting.com <http://wildermuthconsulting.com/> ...
Oooh - I didn't think of that! In fact I didn't realize that was what he was suggesting. I already like it because I can stay out of the designer file. ...
Hello, everyone: Just a quick note to let you know that in June a new Silverlight book (written by moi) will be available for purchase, and you can find it on ...
Congrats, Oswald! Doesn't it feel great to be done?! From: win_tech_off_topic@yahoogroups.com [mailto:win_tech_off_topic@yahoogroups.com] On Behalf Of Oswald...
Ohhh. forget mine. I like that one! From: win_tech_off_topic@yahoogroups.com [mailto:win_tech_off_topic@yahoogroups.com] On Behalf Of Chris Tavares Sent:...
Honestly, why create a wrapper? That seems more work than necessary unless you need/can use it in a lot of places? This sounds like a one-off. Thanks, Shawn...
I thought that the container that you can register 'components' in only required that they were IDisposable anyway..? I.e. that the implementation of...
That's kind of the point - this way you only need to write one class, and can reuse it anytime you're holding onto IDisposables in a form (or anything else...
Chris, Thanks very much, and yes, it feels great-:) Btw, since Silverlight will be significant for the upcoming Olympic, I'm wondering if there's a way to...
Ok, so it took slightly longer than 20 minutes to get the munchkin to bed. ;-) namespace TavaresStudios.Utils { /// <summary> /// A small wrapper class that...
Hey you guys have advanced this a lot whilst I have been asleep! - Thanks! I did think about creating a wrapper, something like Chris's class. I had, and...
The benefit to Chris T's code is that when you need a second component, its clear: Foo f = new Foo(); components.Add(new DisposingComponent(f)); Bar b = new...
Another option might be to create an "Add" extension method on IContainer that takes an IDisposable as an argument and then wraps it automatically in an...
I like that idea a lot, actually. -Chris From: win_tech_off_topic@yahoogroups.com [mailto:win_tech_off_topic@yahoogroups.com] On Behalf Of davidacoder Sent:...
Given my ongoing rants, like ... It's only fair that I report that a new update was just released. This appears to replace the features that had been removed...
I just got my new 8 GB Zune yesterday. The software (2.5?) seems decent enough (all I wanted to do was load tunes on my new player.) So far the Zune seems...
"I wish the Zune team had leveraged WMI, the last thing we needed was a new bug laden "WPF Cutesy" interface." Actually, the Zune doesn't use WPF, which is one...
I spent yesterday wrestling with the update so right now Zune isn't my favorite term.the truth for me is that I love the device and the software is adequate...