我正在使用c#wpf如何从任务栏获取pc应用程序图标通知编号 [英] I am using c# wpf How can I d get pc application icon notification number from taskbar

查看:293
本文介绍了我正在使用c#wpf如何从任务栏获取pc应用程序图标通知编号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如当 你有一些来自Facebook的消息,然后你看到了数字 应用程序图标,例如您有多少邮件 并查看任务栏中的数字。我想创建   申请时的通知编号 来自
任务栏的图标。谁知道?你能告诉我怎么做..

for example when  you have some message from facebook and then you see number on  application icon like how many message you have  and see number from taskbar. I want to create   notification number on application  icon from taskbar. Who knows? Can you tell me how to do it..

我正在使用视觉社区2017 c#wpf请帮帮我?

I am using visual community 2017 c# wpf please help me?

推荐答案

你可以试试这个人做的方式:

You could try the way this guy does it:

http://www.dignaj.com/change-taskbar-icon-in-wpf/

http://www.dignaj.com/change-taskbar-icon-in-wpf/

作为替代方案,您可以使用win8 + sdk dll向行动中心发送消息。这可能包括消息或摘要以及可选的图片。当您添加一个任务栏时,您会在任务栏上收到通知。

As an alternative, you could send messages to the action center using win8+ sdk dll. That could include the message or a summary and optionally a picture. You get a notification on the taskbar as one is added.


这篇关于我正在使用c#wpf如何从任务栏获取pc应用程序图标通知编号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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