无法访问已处置的对象。对象名称:'图标'。 [英] Cannot access a disposed object.Object name: 'Icon'.

查看:105
本文介绍了无法访问已处置的对象。对象名称:'图标'。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


您好



我在应用程序中关闭最大化的MDI子窗体时出现问题....只有当我设置窗体的图标时,如果我没有设置窗体的图标它工作正常......



System.ObjectDisposedException:{"无法访问已处置的对象。\\\\ n对象名称:'图标'。"} 来源: " ; System.Drawing"




do any一个人有任何想法... PLZ帮助我.....



提前完成Thanx



问候


Hammad

解决方案

嗨Hammad,



我无法重现这个问题,能不能提供更多信息有关此问题的信息?您是否在关闭MdiChild表单时尝试访问该图标?



谢谢。



 

Hi

 

I got a problem while closing maximized MDI child form in my application....it is only when i set icon of the form if i dont set icon of the form it works fine......

 

System.ObjectDisposedException : {"Cannot access a disposed object.\r\nObject name: 'Icon'."}Source:                                           "System.Drawing"

 

 

do any one have any idea...plz help me.....

 

Thanx in advance

 

Regards

Hammad

解决方案

Hi Hammad,

 

I cannot reproduce the problem, Could you please provide more information about this problem? Have you tried to access the icon when you have Closed the MdiChild form?

 

Thanks.

 


这篇关于无法访问已处置的对象。对象名称:'图标'。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆