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:
Name of the Control
Text: System Tray icon and panel example
Add a Group Box Control to hold the buttons
Add buttons and linklabel to the group box
Add two panel control to the form
Add a Label to Panel1
Text: This is Panel1
Add a Label to Panel2
Text: This is Panel2
Add a context Menu to the form
Menu Items are given below
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.