NotifyIcon Menu

NotifyIcon Menu

am 16.04.2008 00:11:01 von jp2msft

I have a ContextMenuStrip that I added to my NotifyIcon. Whenever the Main
Form has been hidden, the NotifyIcon can be right-clicked, and the Operators
can select "Show Form."

The ContextMenuStrip shows just fine as long as the Main Form is being
shown, but as soon as the form is hidden, I can not access it. Also, when the
Main Form is hidden, the Click and Double-Click events for the NotifyIcons do
not work.

The program is started with a Main Module (VB.NET 2005) that creates a Main
Form.

How do I get my NotifyIcon to work whenever the Main Form is hidden? Could
someone please help? I have gotten NotifyIcon to work fine in the past, but
not this time.