Windows任务栏示例 [英] Windows Taskbar Sample
本文介绍了Windows任务栏示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好!
有没有人有一个例子,我可以如何将程序放在Windows的任务栏中,并且可以手动弹出?
也许有一个工具提示或者类似的?
C#会很棒: - )
Hello!
Does anyone have an example for me how I can put a program down right in the Taskbar of Windows and can be popped up manually?
Maybe with a tooltip or similar?
C # would be great :-)
不on left side(普通程序):
Not on left side (normal program):
推荐答案
您好Bernd,
Hi Bernd,
我建议您使用 System.Windows.Forms.NotifyIcon和System.Drawing来执行此操作:
I suggest you can use System.Windows.Forms.NotifyIcon and System.Drawing to do this:
https://stackoverflow.com/questions/ 10230579 /最简单的程序 - 最小化 - 自己到系统托盘 - 使用 - 网络4
https://possemeeg.wordpress.com/2007/09/06/minimize- to-tray-icon-in-wpf /
最好的问候,
这篇关于Windows任务栏示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文