Monthly Archives: April 2010

WPF Commanding

WPF Commanding is a new way to wire-up UI events. This post will demonstrate how this works by using a TextBox and a standard Edit menu. Let’s start with a skeleton application: Here’s the magic, the menu items only require … Continue reading

Posted in Tips and Tricks | Tagged , , | Leave a comment

WPF Creating a Menu

Having only recently started learning WPF, I find that I often forget how to do things after a few weeks. Todays post is a simple How-To for creating menus. Lets start by defining a grid with two rows, the first … Continue reading

Posted in Tips and Tricks | Tagged , , | Leave a comment

C# Global Exception Handling

Logging Exceptions when they occur can you give you valuable information on where your code needs to be improved. We all (hopefully) know about try-catch blocks, but it can sometimes be messy trying to wrap every possible line with one. … Continue reading

Posted in Tips and Tricks | Tagged , | Leave a comment