I was in need of a transparent user control, and for some reason System.Windows.Forms.Control does not support opacity out-of-the-box.
Thankfully there was a post from Zhi-Xin Ye of Microsoft on the MSDN Windows Forms Forums, in which he outlines how to "roll yer own" transparent UserControl:
Transparent User Control
Monday, May 19, 2008
Wednesday, May 7, 2008
echominder: a home run from Intuit (and it's free!)
Being an ex-Intuit employee, I always like to keep tabs on stuff that they've been researching.
One of the coolest services that has come out of their research group is Echominder:
Now that I've used echominder a few times, I've found it to be invaluable since it takes out the variables that caused my older methodology to break down:
One of the coolest services that has come out of their research group is Echominder:
echominder
Here's a description from the echominder site of how the service works:
scenarioI had actually been using a similar system before signing up for echominder: I'd call my voice mail at work to remind me to do certain things, but I would have to actually be in the office and then log into my voice mail to get the message.
you've got a flight tomorrow and just remembered you need to pick up your dry cleaning and set your out of office message. you're driving to work and can't stop to write it down, but echominder is in your speed dial:
- as you're driving home, call echominder and instruct it to have your cell phone ring at 4:30pm with a reminder to pick-up the dry cleaning.
- leave another message to call you at 8:00am tomorrow morning to remind you to turn on your out of office message on your computer before you shut down and leave for the airport.
- your phone rings right on time and you get the important things done.
Now that I've used echominder a few times, I've found it to be invaluable since it takes out the variables that caused my older methodology to break down:
- Location: I don't have to be in the office, because echominder calls me wherever I am.
- Timing: echominder calls me at the time I specify; I don't have to get a message and then remember to act on it at a particular time, or enter it into Outlook to remind me.
Friday, May 2, 2008
Visual Studio .NET Tip: Setting Tab Order
I banged my head against the wall trying to figure out how to easily readjust the tab order of controls on a form in Visual Studio 2005 (C#). It seemed silly to me that in this day and age I would have to adjust every control's tab order by typing each value in the Properties window.
Thankfully there is a pretty slick way to do it, and I never would have guessed that it was there, but sure enough there was an MSDN Magazine "Advanced Basics" article on the subject back in 2002:
Advanced Basics: Visual Studio .NET: Setting Tab Order, Loading the Toolbox with an Add-in
Thankfully, they didn't change it. It's still there, and here's the procedure:
The good news is that this feature is still present in Visual Studio 2008 for Windows Forms, but I'm not sure about the WPF editor, though... hopefully it's still present.
Thankfully there is a pretty slick way to do it, and I never would have guessed that it was there, but sure enough there was an MSDN Magazine "Advanced Basics" article on the subject back in 2002:
Advanced Basics: Visual Studio .NET: Setting Tab Order, Loading the Toolbox with an Add-in
Thankfully, they didn't change it. It's still there, and here's the procedure:
To set the tab order, you simply select [the controls on which you wish to change the tab order], then select Tab Order from the View menu. Then just click the controls in the order you want the tabs to sit. As you click each control, the tab order will be displayed on the control to keep you up to date. Press Esc when you're finished.
The good news is that this feature is still present in Visual Studio 2008 for Windows Forms, but I'm not sure about the WPF editor, though... hopefully it's still present.
Kudos to Matthew MacDonald for "Pro .NET 2.0 Windows Forms and Custom Controls in C#" book!
On the recommendation of another engineer that I work with, I recently purchased Matthew MacDonald's book Pro .NET 2.0 Windows Forms and Custom Controls in C#.

This book has already paid for itself in just a couple of weeks -- due to the time saved in trying to find the information I need. Every time I have a question regarding an issue in Windows Forms or with Custom & User Controls, I can find it here. Additionally, the content is written in a manner that can be understood by mere mortals, with some good tips and tricks thrown in too.
Highly recommended.
On the merits of this text, I've already purchased Matthew MacDonald's WPF book (the 3.0 one, since I haven't *quite* moved to VS 2008 yet...).

This book has already paid for itself in just a couple of weeks -- due to the time saved in trying to find the information I need. Every time I have a question regarding an issue in Windows Forms or with Custom & User Controls, I can find it here. Additionally, the content is written in a manner that can be understood by mere mortals, with some good tips and tricks thrown in too.
Highly recommended.
On the merits of this text, I've already purchased Matthew MacDonald's WPF book (the 3.0 one, since I haven't *quite* moved to VS 2008 yet...).
Thursday, May 1, 2008
XBAP First Glance...
Today I was watching a bit of the WPF Boot Camp up on the Mix website, and part way through the Day One, Part Two section, the presenter (Mark Wilson-Thomas) mentioned XBAPs which I had just read about in Matthew McDonald's Pro WPF book, but had never really seen in action.
ActiveX Document Redux?
I had read about them in the context of ClickOnce deployment, which may ultimately be a great way to deploy desktop apps through the browser, but XBAP is a relative newcomer. I say relative, because, as Scott Hanselman points out, this smells a lot like ActiveX Documents, with the exception that XBAPs do run in Firefox (but not on FF Mac/Linux unless the Mono guys can crack that nut).
Turning The Pages 2.0: a Live XBAP Example
Anyway, I was really impressed by an amazing example of an XBAP in the application created by the British Library:
Just this morning I was zooming in on a hand-written copy of Jane Austen's "History of England" (which she wrote when she was 13!), and the experience was a little surreal, as was viewing and turning the pages of Leonardo Da Vinci's Codex Arundel. It felt a little like turning the pages of the books in Myst game series, except these are real books.
Please note that this is not Silverlight (formerly known as WPF/E), this is an actual, full-blown .NET WPF application running in your browser, and the system requirements are commensurate with those technologies.
It's certainly worth checking out, but I'm a little skeptical that this is the next big thing in application deployment (just try clicking the back button in your browser when running the application). The requirements may be a little heavy too, but it definitely opens up some new doors, and machines will hopefully keep up with the demands of these new flavors of applications (WPF, XBPAP, etc.).
Additional References:
ActiveX Document Redux?
I had read about them in the context of ClickOnce deployment, which may ultimately be a great way to deploy desktop apps through the browser, but XBAP is a relative newcomer. I say relative, because, as Scott Hanselman points out, this smells a lot like ActiveX Documents, with the exception that XBAPs do run in Firefox (but not on FF Mac/Linux unless the Mono guys can crack that nut).
Turning The Pages 2.0: a Live XBAP Example
Anyway, I was really impressed by an amazing example of an XBAP in the application created by the British Library:
Turning The Pages 2.0
http://www.bl.uk/ttp2/ttp1.html
Just this morning I was zooming in on a hand-written copy of Jane Austen's "History of England" (which she wrote when she was 13!), and the experience was a little surreal, as was viewing and turning the pages of Leonardo Da Vinci's Codex Arundel. It felt a little like turning the pages of the books in Myst game series, except these are real books.
Please note that this is not Silverlight (formerly known as WPF/E), this is an actual, full-blown .NET WPF application running in your browser, and the system requirements are commensurate with those technologies.
It's certainly worth checking out, but I'm a little skeptical that this is the next big thing in application deployment (just try clicking the back button in your browser when running the application). The requirements may be a little heavy too, but it definitely opens up some new doors, and machines will hopefully keep up with the demands of these new flavors of applications (WPF, XBPAP, etc.).
Additional References:
Subscribe to:
Posts (Atom)