如何更改控制面板中的WPF应用程序默认图标 [英] How to change wpf application default icon in control panel
问题描述
我工作的一个WPF application.I需要通过改变使用应用程序属性window.But其controlpanel.Control面板不改变图标设置应用程序icont.I设置它仍然显示默认的应用程序icon.please帮助..
I am working on a wpf application.I need to set application icont.I setup it by changing the icon using application properties window.But its not changing in controlpanel.Control panel still shows default application icon.please help..
推荐答案
如果您使用安装项目:
在属性设置项目的窗口,第一个属性的 AddRemoveProgramsIcon 。
In the Properties Window of the setup project, the first property is AddRemoveProgramsIcon.
如果您使用的ClickOnce有没有简单的方法来做到这一点:
If you use clickonce there is no easy way to do it:
您必须使用注册表破解:<一href="http://stackoverflow.com/questions/10927109/custom-icon-for-clickonce-application-in-add-or-remove-programs">Custom在添加或删除程序的ClickOnce应用程序图标
You must use a registry hack: Custom icon for ClickOnce application in 'Add or Remove Programs'
这篇关于如何更改控制面板中的WPF应用程序默认图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!