Warning, c# N00b :-)
I'd like to minimise my app to the system tray, rather than the taskbar.
I've created a NotifyIcon and used the following code to hide the app from the taskbar:
private void Form1_Resize(object sender, System.EventArgs e)
if (FormWindowState.Minimized == WindowState)
The app when minimised goes to the system tray just fine but I still have the app on the taskbar too.
Everywhere I've hunted seems to show the same code to what I've already quoted - Am I missing something obvious?