NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TrayIcon Class

Specifies a component that creates an icon in the Windows System Tray. This class cannot be inherited.

Object
   Component
      TrayIcon

[Visual Basic]
NotInheritable Public Class TrayIcon
   Inherits Component
[C#]
public sealed class TrayIcon : Component
[C++]
public __gc __sealed class TrayIcon : public Component
[JScript]
public class TrayIcon extends Component

Remarks

Icons in the Windows System Tray are short cuts to processes that are running in the background of a computer, such as a virus protection program or a volume control. These processes do not come with their own user interfaces. TrayIcon provides a way to program in this functionality. Icon defines the icon that appears in the system tray. Pop-up menus for an icon are addressed with ContextMenu. Text assigns ToolTip text. In order for the icon to show up in the system tray, Visible must be set to true.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

TrayIcon Members | System.WinForms Namespace