resources.GetObject(“$ this.Icon”)在Windows XP上崩溃了应用程序 [英] resources.GetObject(“$this.Icon”) crashes application on Windows XP

查看:1026
本文介绍了resources.GetObject(“$ this.Icon”)在Windows XP上崩溃了应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序崩溃:

 this.Icon =((System.Drawing.Icon)(resources.GetObject(" $ this.Icon" ))); 

this.BackgroundImage = global :: Bulk_Email_Sender.Properties.Resources.bg;




它在Windows 7上工作正常,但是当我在Windows XP上安装它时,它会显示这些错误...

解决方案

Hi Jeeten,


是否有任何异常抛出?


请您告诉我们详细的错误消息是什么?


祝你好运,


Application crashes on :

this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));

this.BackgroundImage = global::Bulk_Email_Sender.Properties.Resources.bg;


It is working fine on Windows 7, but when i am installing it on Windows XP, It shows those errors...

解决方案

Hi Jeeten,

Are there any exceptions thrown?

Would you kindly tell us what's the detailed error message?

Best regards,


这篇关于resources.GetObject(“$ this.Icon”)在Windows XP上崩溃了应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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