In my application, we have some windows that are auto hidden at start up. My
intention is to use a menu item to show them, just like that way Visual
Studio does with Toolbox, Solution Explorer etc. How can I programmatically
show an auto hidden window ?. Any help is highly appreciated.
Thanks,
Ramesh
Mini-Tools Timm - 27 Jul 2006 15:28 GMT
> In my application, we have some windows that are auto hidden at start up. My
> intention is to use a menu item to show them, just like that way Visual
> Studio does with Toolbox, Solution Explorer etc. How can I programmatically
> show an auto hidden window ?. Any help is highly appreciated.
Perhaps I am misunderstanding your question, but to show a form that has
been hidden:
form.Visible = true;

Signature
Timm Martin
Mini-Tools
.NET Components and Windows Software
http://www.mini-tools.com
Pritcham - 28 Jul 2006 09:21 GMT
Hi Ramesh
I would think that what you actually want to do is to not create the
forms until they are needed rather than create them but have them
hidden - otherwise you're using up resources needlessly (if the user
can't see them etc then what's the point of having them 'open'?). It
may be better to just create the forms when they're needed.
Cheers
Martin
> In my application, we have some windows that are auto hidden at start up. My
> intention is to use a menu item to show them, just like that way Visual
[quoted text clipped - 3 lines]
> Thanks,
> Ramesh