Hook the Form Closing event and cancel it and set the visibility of the Form to false and set ShowInTaskbar to false as well. Then in the click event of your notifyicon, simply show the form. Your app will still show up when the users presses Alt-Tab however.
If this answers your question, please mark the question as answered.