DanielGrunwald edited this page Aug 27, 2007 · 1 revision

Adding a NotifyIcon to a program that has a main form

In the forms designer, add a NotifyIcon (from the "Components" tab in the Tools pad) to your form. In the property pad, set the Icon property. Your program will show the notify icon as long as the main form is open. You can hide the main form, but closing it will shut down your program and remove the notify icon.

Creating a program without main form but with a NotifyIcon

Use the "NotifyIcon Application" project template to create an application that starts without a main form.