I used the code found here posted by megatron to make my program add itself as an icon to the system tray while running. I still have a couple questions that weren't covered in that code though:

1) How do I make my program minimize itself so all I can see is the icon in the system tray? I mean I want to click a button and the form goes away but the icon stays in the system tray and the program continues to run.

2) How can I make it so when I right click the icon in the system tray a menu pops up?

Thanks in advance for your help. Later,

-zer0 flaw