如何创建只显示 NotifyIcon 的 WinForm 应用程序?
我很确定我以前做过这个,但我不记得我是如何/在哪里找到如何做到这一点的。
我创建了一个新的 WinForm 应用程序,然后将一个通知图标拖到我的设计器上。 我在 Form1.vb 文件中为 NotifyIcon 的行为编写了所需的功能。
我想我记得一些关于向项目添加模块,并将项目设置为启动上述模块而不是表单的事情......但我无法弄清楚/回忆如何保留我已编码到 Form1 中的功能。 vb.
I am pretty sure I've done this before, but I cannot remember how/where I found out how to do this.
I created a new WinForm application then dragged a notify icon onto my designer. I coded my desired functionality for the NotifyIcon's behavior inside the Form1.vb file.
I think I remember something about adding a module to the project, and setting the project to launch the aforementioned module instead of the form...but I can't figure out/recall how to keep the functionality I've coded into Form1.vb.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过这个< /a>? (google< 上的第一个结果/a>,我想我过去也用过它)
Did you try this ? (first result on google, I think I used it too in the past)