Sean Blakemore's Blog

Like trying to fit a square peg in a round hole

11. July 2010 19:36
by Sean
3 Comments

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

More...

12. March 2010 13:18
by Sean
2 Comments

Bidirectional Integrity: IEnumerable and read only Entity properties

12. March 2010 13:18 by Sean | 2 Comments

Jimmy Bogard over at LosTechies has a great little series of posts going ahead at the moment on “strengthening your domain”. For the time constrained amongst us, I’ll quickly summarise his points so you can understand what I say here without going back to the source, however please do go ahead and check them out if your haven’t, there is some great advice there:

It’s his most recent post in the series on encapsulated collections which I’d like to talk more about.

More...

22. December 2009 22:01
by Sean
13 Comments

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?

More...