What's wrong with the MSDN help page about
System.Windows.Forms.NotifyIcon
? It even has the sample code which you can run and see how it works.
Here:
http://msdn.microsoft.com/en-us/library/system.windows.forms.notifyicon.aspx[
^].
Your notify icon just shows the text (and Icon, and can have menu, etc.). Show whatever you want from any form. Do you need to show which form is in which state? Use some text matching the form title text or something like that. "Correct code" is just what you think is correct here.
—SA