本文介绍了为什么我的图标没有出现在标题栏中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经从Visual Studio的解决方案资源管理器"中的属性"窗口为应用程序分配了一个图标;该应用程序的图标已成功更改,但标题栏仍显示默认图标:
I have assigned an icon to my application from the Properties window in Solution Explorer in Visual Studio; the application's icon changed successfully but the title bar is still showing the default icon:
我已经重建了我的应用程序,但是它仍然显示默认图标.我在做什么错了?
I've rebuilt my application but it still displays the default icon. What am I doing wrong?
推荐答案
因为表单的icaon配置与应用程序不同.在表单上设置图标,而不是仅在应用程序上设置.
Because forms have a different icaon configuration than the application. Set the icon on the form, not ONLY on the application.
这篇关于为什么我的图标没有出现在标题栏中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!