我的winform按钮上的大红色X. [英] Big Red X on my winform buttons

查看:262
本文介绍了我的winform按钮上的大红色X.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个winform应用程序。但在某些客户端计算机中,按钮上有时会出现一个大的红色x。可能是什么原因?任何人都有任何想法吗?

按钮看起来像这样...



http://www.sturmnet.org/wp-images/redx.png [ ^ ]

推荐答案

猜测 - 无法访问您的代码几乎全部它可以 - 你把图像放在按钮上,对吗?

嗯,您没有安装图像,或者您对位置进行了硬编码。在您的应用程序中将图像作为嵌入式资源包含在您的按钮中 - 问题应该消失。
At a guess - and without access to your code that's pretty much all it can be - you have put images on your buttons, right?
Well, you aren't installing the images, or you have hard-coded the locations. Include the images as Embedded Resources in your App and use those on you buttons - the problem should go away.


这篇关于我的winform按钮上的大红色X.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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