Hi all,
How can an windows form be started in hidden mode?
My problem is I've setup a load event handler where I'm setting
this.Visible = false and calling base.OnLoad(). I noticed calling
base.OnLoad() is setting visibility to true for the frame. I tried to
peek in to Windows.Forms assembly using Reflector. There I found the
visibility is set to true (hard-coded).
Any help is appreciated.
Thanks,
Venkat
Jacky Kwok - 31 Jan 2005 01:20 GMT
> Hi all,
> How can an windows form be started in hidden mode?
[quoted text clipped - 4 lines]
> visibility is set to true (hard-coded).
> Any help is appreciated.
You may try to set the Form size to (0,0) or move the Form to an
invisible location,e.g (-10000,-10000). The effect is same to set the
Form "Visible = false".

Signature
Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk
jacky@compose_DOT_com_DOT_hk