Re: Starting up the win form as non visible
- From: "Bryan Phillips" <bphillips@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 7 May 2007 21:05:17 +0000
If you don't want the form to be displayed until you need it, use a console application instead and close the handle to the console to hide it. Then, instantiate your form when you need to show it.
One question though: If you succeed in hiding the form, how do close your application?
--
Bryan Phillips
MCT, MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net
"melon" <elty123@xxxxxxxxx> wrote in message news:1178558682.566828.317450@xxxxxxxxxxxxxxxxxxxxxxxxxxx:
So I have something like
Application.Run(new PopupForm());
public PopupForm()
{
InitializeComponent();
}
I want the PopupForm as non visible from anywhere (including the
actual form should be non visible, as well as in task bar, alt tab
bar). I tried to add this.Visible = false, or this.Hide() in the
constructor of PopupForm but none of them works.... the form still
shows up all the time. Is there anything I have done wrong?
I also tried to start it up as Minimized, but then it is still visible
in the alt tab bar.
.
- Follow-Ups:
- Re: Starting up the win form as non visible
- From: Brian Schwartz
- Re: Starting up the win form as non visible
- References:
- Starting up the win form as non visible
- From: melon
- Starting up the win form as non visible
- Prev by Date: WPF HOW TO: Insert a ComboxBoxItem after databinding?
- Next by Date: Re: SendMessage - using for forms
- Previous by thread: Starting up the win form as non visible
- Next by thread: Re: Starting up the win form as non visible
- Index(es):
Relevant Pages
|