Vikrant's article steps you through the process of building your own Notify Icon application, allowing you to run applications from the task tray, using VB.NET.
Simple VB.NET Notify Icon with Panel Application - The Application (Page 3 of 6 )
The application contains the following controls. Add controls in the order as they appear below:
Control
Name of the Control
Value
Form
form1
Text: System Tray icon and panel example
Add a Group Box Control to hold the buttons
GroupBox
GroupBox1
Controls
Add buttons and linklabel to the group box
Button
Button1
Text: Panel1
Button
Button2
Text: Panel2
Link Label
LinkLabel1
Tray
Add two panel control to the form
Panel
Panel1
Panel
Panel2
Add a Label to Panel1
Label
Label1
Text: This is Panel1
Add a Label to Panel2
Label
Label2
Text: This is Panel2
Add a context Menu to the form
Context Menu
Cmn
Menu Items are given below
MenuItem
&Exit
MenuItem1
MenutItem
Panel&1
pan1
MenutItem
Pane&2
pan2
Select Panel1 and note its size and location parameters in the property window.
Apply the same location parameters of Panel1 to the Panel2 property sheet. By now, Panel2 is above Panel1.
Now concentrating on Notify Icon, drag the Notify Icon control displayed in Windows Forms genre, in the tool box, to the form. Notify Icon must be on the component tray. Select it and change its name to nfi. Now on the Notify Icon property sheet, choose the icon parameter and associate it with your favorite icon. This is the icon that will be displayed in the system tray.