Pilchie / xunit.runner.wpf

XUnit Gui written in WPF
Apache License 2.0
44 stars 41 forks source link

Save and restore the position of the Main window #47

Closed DustinCampbell closed 8 years ago

DustinCampbell commented 8 years ago

It's pretty annoying that the XUnit runner always starts with the same width and height. This change adds code to save and restore the position. It uses the Win32 GetWindowPlacement and SetWindowPlacement APIs to ensure that the normal position is properly saved and restored regardless of whether the window is maximized or not.

Please review this @Pilchie

Pilchie commented 8 years ago

:+1: