Code:
Resize Event:
If WindowState = FormWindowState.Minimized Then NotifyIcon1.Visible = True Me.Hide() NotifyIcon1.ShowBalloonTip(5000) End If
Notifyicon double click event:
Me.Show() NotifyIcon1.Visible = False
Exit context strip click event:
NotifyIcon1.Visible = False End
Closing event:
NotifyIcon1.Visible = False End
Show context menu strip click:
Me.Show() NotifyIcon1.Visible = False