简体   繁体   English

在WPF中设置独立任务栏图标

[英]Set an Independent taskbar icon in WPF

I want to set my taskbar icon that should be independent of the application icon, that should not affect the other icons used in the application. 我想设置我的任务栏图标,该图标应独立于应用程序图标,而这不会影响应用程序中使用的其他图标。

Tried with the other existing solution in stackoverflow, none of them works. 与stackoverflow中的其他现有解决方案进行了尝试,它们都不起作用。

I also encountered such a problem. 我也遇到过这样的问题。 It showed differently. 表现不同。 You can not finish. 您无法完成。 The system reads the icon (for the panel and for the application the same icon) the size of one icon (32x32, 48x48, 128x128, 24x24).You can make something a custom decision in the title, change the content and so on. 系统会读取一个图标(32x32、48x48、128x128、24x24)大小的图标(对于面板和对于应用程序而言,都是相同的图标)。您可以在标题中做出一些自定义的决定,更改内容等等。 But I do not think that this is a good decision. 但是我认为这不是一个好的决定。 Comment : the icon its file, it has any sizes picture in one file, you can change this one size picture or anoter. 注释:该图标的文件,在一个文件中可以包含任何大小的图片,您可以更改此大小的图片或添加注释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM