Begin Application with hidden form

  • Thread starter Thread starter JimmyHoffa
  • Start date Start date
J

JimmyHoffa

Hi,

I'm writting a C# CF application in .net 2003. I'm using a trayicon
in my app and want to the application to start hidden rather than show
me the main form.

Can anyone suggest how to keep the form hidden from view at startup ?

Thanks..
 
set the forms Visible property to false, you should be able to do this from
the designer, alternatively you could place it in the constructor. You may
find it still shows on the titlebar, make sure your device has the latest
service pack, there was an issue with the titlebar fixed in (I think SP1)
but you should use the latest version - SP3

Peter
 
Thats what i first tried, adding this.visible = false; to the
constructor but it has no effect.
 
Back
Top