c# - 托盘图标未显示
我在主窗体上设置了 NotifyIcon,但是当窗体运行时,通知图标没有出现?
我将其可见属性设置为 true,如果我尝试显示气球工具提示:
ntiTrayIcon.ShowBalloonTip(1000, "Info:", "Double click this icon to close AlwaysOnTop", ToolTipIcon.Info);
那也不会显示。
有什么问题吗?
表格上的一些信息: 它是一个 SizeableToolWindow,它没有控制框或标题(因此它仅显示为边框),并且在一段时间后隐藏(它本质上是注册一些全局键盘挂钩的启动屏幕),这会是问题吗?
I have a NotifyIcon set up on my main form, however when the form ran the notification icon doesn't appear?
I have it's visible attribute set to true and if I try to show a balloon tooltip:
ntiTrayIcon.ShowBalloonTip(1000, "Info:", "Double click this icon to close AlwaysOnTop", ToolTipIcon.Info);
That doesn't show either.
What's the problem?
Some Info on the form:
It's a SizeableToolWindow and it has no control box or caption (so it shows up as just the borders) and it gets hidden after a while (it's essentially a splash screen that registers some global keyboard hooks), would this be the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在表单构造函数中添加这一行
Try to add this line in your form constructor