In design mode, you drop a NotifyIcon object on your form. You can then drop a ContextMenu on your form and add this menu to the NotifyIcon's ContextMenu property. This menu will be seen when the user rightclicks the try icon. You can add a handler for the NotifyIcon's Click event to catch the action of a user clicking the icon.
From code, you create an instance of NotifyIcon, set properties, hook any handlers you want, and then make it visible. Here are some VB snippets.
|