【发布时间】:2012-02-22 10:20:28
【问题描述】:
当尝试在设计模式下打开一个表单 (VB.NET),其中我有一个自定义 UserControl,我看到来自 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
---------------------------
并且表单不显示在设计器中。怎么办?
【问题讨论】:
标签: .net vb.net visual-studio visual-studio-2010 windows-forms-designer