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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top