Sean Blakemore's Blog

Like trying to fit a square peg in a round hole

11. July 2010 19:36
by Sean

Dirty Checking your Silverlight and WPF data entry forms

11. July 2010 19:36 by Sean | 3 Comments

Let’s just dive right in and have a demo to see what we’re trying to accomplish. Below is a Silverlight application with some interesting behaviour, if you start changing any data the application will notice and the save button becomes enabled, the state of the form is ‘dirty’. That isn’t very interesting on it’s own, what is interesting is that if you then put the data back to the way it was when you started, the save button becomes disabled again and the form returns to the ‘clean’ state. Here, have a play…

Get Microsoft Silverlight


22. December 2009 22:01
by Sean

Silverlight 4 COM Automation – Taking photos with a DSLR using Windows Image Acquisition

22. December 2009 22:01 by Sean | 13 Comments

Note: This code was written using the PDC09 Beta and may not work without modification on future builds!

Silverlight 4 brings a lot to the table and in my opinion is the most exciting looking release so far. There is a whole slew of new possibilities which have opened up because of a number of important new features, the feature I’m going to be looking at is COM automation.

Huge amounts of functionality built into Windows and installed by third party software is now at your fingertips. So how do we get access to it?