I have a C# application and placed its icon in the system tray. I've noticed that whenever the application crashes, the icon stays in the system tray. When I move my mouse over the system tray, however, the icon disappears. Is there a way to make sure that the icon disappears when the application is no longer running? This behavior is getting kinda annoying...
↧