关闭设计器文件时WinForm设计器崩溃。 [英] WinForm designer Crash when closing the designer file.
本文介绍了关闭设计器文件时WinForm设计器崩溃。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试"关闭"时,我的VS2010总是崩溃设计师档案。 (VS2010只是说它需要重启)
My VS2010 always crash when I try to "close" the designer file. ( VS2010 just said it need restart )
但是,我可以打开它并添加一些控件。我的代码也可以编译,运行和调试。
However, I can open it and add some control. Also my code can be compiled, run, and debugging.
任何想法?
谢谢提前。
推荐答案
好的,我找到了一个 子句。设计师将调用我的控件TWICE的析构函数!!
OKay, I found a clause. The designer will call the destructor of my control TWICE!!
它允许我的原生对象被删除两次。
It let my native object be delete twice.
这动作真的是
奇怪,因为我只是使用一个控件,任何人都可以帮忙?
This action is really
weird, because I just use one control, any one can help ?
这篇关于关闭设计器文件时WinForm设计器崩溃。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文