Using class NotifyIcon to create a TaskBarTray Icon for the Application

NotifyIcon NI=new NotifyIcon();



NI.Text=<The Tool Tip Text To Be Displayed>;



After setting it, make sure to set NotifyIcon.Visible=true.

Also, can get an Icon via doing: NotifyIcon1.Icon=this.Icon;
(this=the Form)


Class NotifyIcon has several Events which the user can add EventHandlers, and respond to, such as Click, DoubleClick, MouseDown, MouseMove, & MouseUp.


A Common use to when the NotifyIcon is clicked,

is to open the Application's Main Form.

A Common use to when the NotifyIcon is rightclicked,

is to show a conetxt menu with options relevant for the application, or to what the notifyicon represents.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.