Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
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.