通知区 [英] notification area

查看:84
本文介绍了通知区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我用C#制作了exe文件
我如何通过c#
将快捷方式添加到我的文件到通知区域
Thanks

hi every one ,

i made exe file by c#
how can i add shortcut to my file to notification area by c#

thanks

推荐答案

您是说一个托盘图标吗?
我建议您包括.net中的Component或从代码中创建一个以及要分配给它的ContextMenuStrip.

编辑表单时,在工具箱中,NotifyIcon位于通用控件"下,而ContextMenuStrip位于菜单和工具栏"下.
By this you mean a tray Icon?
I suggest you include the Component from .net or create one from code as well as a ContextMenuStrip to assign to it.

NotifyIcon is under "Common Controls" and ContextMenuStrip is under "Menus and Toolbars", in Toolbox while editing a form.


实施NotificationIcon.
请参见此处 [
Implement a NotificationIcon.
See here[^].


这篇关于通知区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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