VB.net 任务栏标签显示

前端之家收集整理的这篇文章主要介绍了VB.net 任务栏标签显示前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

显示画面

Private Sub NotifyIcon1_MouseDoubleClick(ByVal sender As System.Object,ByVal e As System.Windows.Forms.MouseEventArgs) Handles NotifyIcon1.MouseDoubleClick

If Me.WindowState = FormWindowState.Minimized Then Me.WindowState = FormWindowState.Normal '还原 End If Me.Activate() Me.ShowInTaskbar = True End Sub ‘隐藏画面 Private Sub HolidayAndWorkingday_Resize(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles MyBase.Resize If Me.WindowState = FormWindowState.Minimized Then Me.ShowInTaskbar = False End If End Sub ’退出 Private Sub ToolStripMenuItem1_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles ToolStripMenuItem1.Click Application.Exit() End Sub 原文链接:https://www.f2er.com/vb/257073.html

猜你在找的VB相关文章