0

我怎样才能hide全部打开表格,包括全部dialog forms打开NotifyIcon

我目前使用隐藏主表单

        Me.Hide()
        NotifyIcon.Visible = True
        NotifyIcon.ShowBalloonTip(1, "WinVault", "You've been lockout due to innactivity", ToolTipIcon.Info)

并让表格回来显示

Private Sub NotifyIcon_MouseDoubleClick(sender As System.Object, e As System.Windows.Forms.MouseEventArgs) Handles NotifyIcon.MouseDoubleClick
    Me.Show()
End Sub

minimize我想要所有打开的表单,包括那些对话框表单NotifyIcon

使用显示对话框表单Form.ShowDialog

4

0 回答 0