使用设计器添加列会使控件崩溃,并显示以下消息:
System.Exception: The control BrightIdeasSoftware.ObjectListView has thrown an unhandled exception in the designer and has been disabled.
Exception: Unable to cast object of type 'System.Windows.Forms.ColumnHeader' to type 'BrightIdeaSoftware.OLVColumn'
我尝试了 2 台不同的笔记本电脑。在两台机器上,它都可以在 VS2010 上正常工作,但会使设计器在#D 中崩溃
然后我在一个 Linux 机器中使用 VirtualBox 重新安装了 windows7、.net4、sdk 和 OLV,结果相同。
在 Google 中找不到有用的信息,因此我感谢您对此提供的任何帮助。