When try to open in design mode a form (VB.NET), in which I have a custom UserControl, I see the message from Visual Studio:
---------------------------
Microsoft Visual Studio
---------------------------
The control MyNamespace.MyUserControl has thrown an unhandled exception
in the designer and has been disabled.
Exception:
Cannot access a disposed object.
Object name: 'SplitterPanel'.
Stack trace:
---------------------------
OK
---------------------------
And the form is not displayed in designer. What to do?