05
Nov
09

When application is closed, Notify Icon in system tray remains

In Windows forms or WPF application if we are using Notify Icon in the system tray, before you close the application by issuing System.Windows.Application.Current.Shutdown(); set the NotifyIcon object’s icon to null!

That clears the icon from the system tray :)

 


0 Responses to “When application is closed, Notify Icon in system tray remains”



  1. No Comments Yet

Leave a Reply