When the icon of my tray hides and the application closes, half the time when the icon of my application appears βstuckβ. The value does not remain until you are gathered in the tray area.
I know that for cleaning during closing I can do trayIcon.Dispose() , but it only works when I close my C # application, and not when I hide ( trayIcon.Visible = false ).
Does anyone know about a hack, or in general, that can be used to update the tray area, or just make sure that my icon actually stops displaying?
source share