0

I've created a system tray application using c#. And it is running successfully. Now the problem is, a notification window that has to be popped up when a particular event occurs(Not with a new icon but for the same icon which present in the notification area). The notification should last for few seconds and the notification area icon's colour should be changed till the window disappears.

Please suggest solutions. Thanks for helping!!!

Narmadha
  • 3
  • 1
  • 3
  • What have you tried? Changing the icon is not that difficult, and works basically how you would expect. (Note: It's called the *notification area*, not the "system tray".) – Cody Gray - on strike Mar 15 '12 at 10:45

1 Answers1

3

If you use the class NotifyIcon you can set the Icon property:

notifyIcon.Icon = <Some Icon> (ex. Properties.Resources.IconRed, if in your resources).
Brandon
  • 68,708
  • 30
  • 194
  • 223
Florian
  • 467
  • 4
  • 8