Recent Posts

Cutting images with PresentationCore

2 minute read

In my business cutting images into smaller images is something that happens quite often these days, since tile based mapping systems like Google Maps, Virtua...

Silverlight data binding the lazy way

2 minute read

Your typical business class utilizing data binding in Silverlight (and possibly WPF too, but I don’t have any experience with that) look like this:<pre>...

[Serializable] does not inherit (aka RTFM)

1 minute read

Of course, everybody knows that if you want to serialize an object, you need to decorate the class with the [Serializable] attribute. Right? Well, yes, and ...

Converting colors from RGB to HTML and back

less than 1 minute read

A very short one this time: it turns out to be pretty easy to convert a RGB color to a HTML color and back. This may come handy when (like me) you are using ...