shawne
Well-known member
Ok, when I click my button to minimize to tray, the notify icon shows up, the form minimizes to the system tray and hides, then the application ends....Here is the snippet that is suppose to in affect minimize to the system tray:
This should be a simple thing, but I can't figure it out.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.WindowState = FormWindowState.Minimized
Me.ShowInTaskbar = False
NotifyIcon1.Visible = True
End Sub
This should be a simple thing, but I can't figure it out.