App with tray icon

  • Thread starter Thread starter RF
  • Start date Start date
R

RF

Hi,

I have an app with a notify icon. On the closing event, I set the
ClosingEventArgs.Cancel = False and hide the form. So, when the user clicks
"x" in the window, the form is hidden from the user.

However, if the user decides to restart or shutdown the system, the tray
icon remains persistent until I manually close the app.

How do I resolve this issue. Any help is appreciated.

TIA,

Randy F.
 
Back
Top