Main contents

Using Commands in BabySmash

4 June 2008

For background, you should read the first post by Scott Hanselman on his BabySmash project. I’ve already written one post on how to to do configuration better. In this post, I’ll cover another aspect of WPF that Microsoft got right: commands.
I’ve written about commands before. In that post, I was describing a way to implement [...] Read more »

Posted in .NET | 2 Comments »

StaticResource does not mean static

3 June 2008

My post about BabySmash got hanselmanned. There are some questions in the comments on that post that are worth addressing in another couple posts, so here’s the first. For background, we have Scott’s follow up post, describing how he changed the code because of my post.
In Scott’s post, Configuration with DataBinding, he wrote the following:
Next, [...] Read more »

Posted in .NET | 1 Comment »

Redoing the Options Dialog in BabySmash

2 June 2008

Scott Hanselman introduced us to BabySmash today. It’s an app for his kids that he developed using his arcane Win32 knowledge in a WPF app. He did it on purpose, mind you, to teach himself WPF, with us watching.
I think this is a fantastic idea. When I was writing the AutoComplete TextBox series, I thought [...] Read more »

Posted in .NET, Rants | 17 Comments »

Using the Command Pattern in Windows Forms clients

17 May 2006

I’ve been doing a lot of research with the Command pattern lately at work. Here’s what I found: You’re doing yourself a disservice – and your team – if you don’t play the hell outta this thing!
It’s a very powerful design for non-trivial Windows Forms clients. What’s non-trivial? Anything that uses a menu, toolbar or [...] Read more »

Posted in .NET, Software | 5 Comments »