I'm writing a System Tray based app with C# and I wonder if there's a pre-existing class I can reuse. Basically, the behavior is very similar to the standard Windows volume control and calendar widgets:
- When the notify icon is clicked, a form/dialog is popped up. If the "show hidden icons" button was clicked to access the notify icon, it'll be closed.
- The form/dialog is aligned to bottom right of the same screen as the notify icon, whichever screen it is on.
- When the focus is lost, the form will close.
I could try to implement all these behaviours. But if there's a standard windows control, I'd like to reuse it to get the same look and feel. Thanks.