Export (0) Print
Expand All

Introduction to the Windows Forms NotifyIcon Component

Visual Studio .NET 2003

The Windows Forms NotifyIcon component is typically used to display icons for processes that run in the background and do not show a user interface much of the time. An example would be a virus protection program that can be accessed by clicking an icon in the status notification area of the taskbar.

Each NotifyIcon component displays a single icon in the status area. If you have three background processes and wish to display an icon for each, you must add three NotifyIcon component to the form. The key properties of the NotifyIcon component are Icon and Visible. The Icon property sets the icon that appears in the status area. In order for the icon to appear, the Visible property must be set to true. Icons can have associated ToolTips and context menus. For more information, see Introduction to the Windows Forms ToolTip Component and Introduction to the Windows Forms ContextMenu Component.

See Also

NotifyIcon Component (Windows Forms) | NotifyIcon Class

Show:
© 2015 Microsoft