NotifyIcon: How to hide associated form?

  • Thread starter Thread starter Axel Dahmen
  • Start date Start date
A

Axel Dahmen

Hi,

I want to write a small tool having only the NotifyIcon as its visible GUI.
I don't need the form associated with the NotifyIcon. How can I set the
form's visible status to false? If I write "this.Visible=false;" after the
call to InitializeComponent() nothing changes; the form's still visible.

How can I hide the form?

TIA,
Axel Dahmen
 
If you don't want the form to be visible, then don't show it! Add a
module to your project and add a Sub Main to it. Place the code to
create your NotifyIcon there.
 
Back
Top