thielj / MetroFramework

Metro UI of Windows 8 for .NET Windows Forms applications
http://thielj.github.io/MetroFramework
Other
396 stars 225 forks source link

MetroForm controlbox disappeared. #100

Closed Unknown025 closed 6 years ago

Unknown025 commented 6 years ago

Didn't set "controlBox=false" and the border style setting doesn't make a difference. Checked my own code, doesn't appear to change the controlbox, yet the close, minimize, and maximize buttons are all missing in both the designer and the debug build.

Unknown025 commented 6 years ago

The error was caused by the event handling the creation of the dialog controls encountering an exception while executing the normal form load event. Slightly annoying that C# doesn't throw exceptions that are in events.