App with tray icon

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top