本文介绍了如何删除ObjectDisposedException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在Windows窗体应用程序中,有两个窗体form1和form2.
我想在运行时连续运行,但是它允许第一次,而不是第二次,依此类推.当时(第二次)显示为无法访问已处理对象";对象名称是"form1".请回复我出错的地方或对此的任何解决方案....

Hi all,

I''m doing windows form application and have two forms form1 & form2.
I want to operate continuously at run time, But it allows first time, Not second time and so on. At that time(Second time) shows like Cannot access Disposed Object; Object Name is "form1" . Please reply where i went wrong or any solutions to that....

推荐答案


这篇关于如何删除ObjectDisposedException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 22:29