Saving/Restoring Window State in C#

I found a good class to save/restore a window’s position/size/state on David Rickard’s Tech Blog. It’s very convenient to use (Winforms/WPF) and works pretty well – even with multiple monitors attached to the computer.

Enjoy: http://blogs.msdn.com/b/davidrickard/archive/2010/03/09/saving-window-size-and-location-in-wpf-and-winforms.aspx