如何在系统托盘中显示运行Windows服务图标? [英] How to display running windows service Icon in system tray?

查看:120
本文介绍了如何在系统托盘中显示运行Windows服务图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了一个Windows服务,它在PC的后台运行成功,但我想在系统托盘中显示它,以便我可以更改配置并检查状态是否正在运行。我怎样才能实现这个目标?



每个答案都将不胜感激,

谢谢!

I made a windows service and It is running successfully in background in PC but i want to show it in system tray so that I can change configuration and check status is it ruuning or not, from there. How can i achieve this?

Every answer will be appreciated ,
Thanks!

推荐答案





请参阅以下文档,该文档将说明如何在运行时显示托盘中的图标



创建系统托盘图标和Windows服务对话框 [ ^ ]


这篇关于如何在系统托盘中显示运行Windows服务图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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