Search code examples
c#iconssystemtray

Can I change my programs tray icon while it runs in c#?


I want to make my programs tray icon change colors if a certain event occurs. Can I set my code to change the tray icon while it runs?


Solution

  • Just set the NotifyIcon.Icon property to the new icon to change it.