Winforms Notification Icon duplicates in the Syste

2019-08-04 17:53发布

I am working on a WinForms application and have to show the Application Icon(Notification Icon) in the System tray. Things working fine. But when I go to a sub page from the main page and come back and check the system tray It has 2 notification Items in the system tray. Again When I go to another page and see, another duplicate Icon appears in the system tray. Like that the number of notification icons gets increase when i go to another page and come back.

If someone can Guide me where I have gone wrong, really appreciate. Thanks in advance...

1条回答
萌系小妹纸
2楼-- · 2019-08-04 18:18

Since you're not giving any code, I'm gonna go on hunches and lucky guesses:

  • The logic you implemented to generate a notification icon gets executed on an event that occurs when you change page in your app. (Likely)
  • There is a chipmunk that lives inside your computer, and he felt like monday is messing-with-da-master day. (Not so likely)
查看更多
登录 后发表回答