本文介绍了如何在Visual WebGui中使用.ico文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我要在按钮中显示和图标.所以,首先:
1.我将添加到我的项目的资源目录中,然后添加了Incons子目录.
2.我已经将.ico文件复制到Incons子目录中,然后在VS中,通过将添加现有项"添加到Icons dir中,将此ico文件添加到项目中.
3.在表单中创建一个按钮,然后尝试在属性中添加图像.效果是无效的性质.."或类似的内容.

有人可以告诉我为什么吗?

谢谢,

Hi,
I want to display and icon in my button. So, first of all:
1. I add to my project Resources dir and than Incons subdir.
2. I''ve copied .ico file to Incons subdir, and than in VS by "Add existing item" to Icons dir add this ico file to the project.
3. Create a button in form and try to add image in properties. The effect was "Invalid properity.. " or sth like that.

Could somebody tell me why ?

Thanks,

推荐答案


这篇关于如何在Visual WebGui中使用.ico文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-18 15:29