MahApps/MahApps.Metro — pull request #145 by admsteck (2012-07-25 00:33:58+00:00)
Title: Fixed issue #139

I couldn't get maximizing to work on reliably on a secondary monitor using the `WmGetMinMaxInfo` method. Instead now I am handling the `Window.StateChanged` event and then calling the native `SetWindowPos` method to manually set the size. I then noticed the system menu (when right clicking the title bar) was getting out of sync so I had to add a few lines to fix that. I'm not sure that `WmGetMinMaxInfo` is even needed now. Let me know what you think.

PS. Sorry for all the other single line changes. I ran visual studio's 'format document' command to fix my spacing and it apparently fixed a few more things as well.