planetdonovan.com
Here's a small sample for saving and restoring window position in Windows Forms and WPF. It's using application settings to store the values and the .RestoreBounds property to get the window bounds if the window is currently minimized or maximized.
Save_and_Restore_Window_Position.7z (24.69 kb)
Tags: C#, Source Code, WPF, Windows Forms
Blog
Powered by BlogEngine.NET 1.6.1.0 Base theme by Mads Kristensen This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
Donovan Olivier
software developer, architect, husband, father, son, brother, uncle, nephew, sinistral, enquirer, skeptic, cynic, anarchist, contrarian, infidel, dissident, rebel, troublemaker, dissenter, renegade.