To reproduce: - Add 3 MDI child forms with a lot of gauges. - Set their WindowState to maximized. - Show each upon a button click. Workaround: Set the state of all forms to normal, before adding a new maximized form.
Detailed information is available here as well: https://social.msdn.microsoft.com/Forums/vstudio/en-US/e5d0721e-166a-426f-adff-ef00c2f541e0/error-creating-window-handle-innerexception-object-reference-not-set-to-an-instance-of-an-object?forum=csharpgeneral
Please take a look at the attached call stack. You can see that it does not have any reference to our methods. None of our methods are executed, this means that the issue cannot be solved at the level of our components. Also many internet threads https://www.google.bg/search?q=mdi+child+maximize+problem+c%23+exception+Error+creating+window+handle&gws_rd=cr&ei=DSf2WJDJGsq1a4DUutAC have mentioned the exact issue with maximized mdi child forms.