O
Ohad Young
Hi,
In the form's Load event handler I'm trying to hide the form, but still the
form is visible although the Visible property is set to false.
Only if the ShowInTaskBar property is set to false too, it is not visible.
Why?
Isn't there a way to hide a form from its Load event handler but to display
it still in the task bar?
Here is the code:
// handler for the Load event
private void FrmLifetimeDemo_Load(object sender, System.EventArgs e)
{
this.Visible = false;
this.ShowInTaskbar = false;
}
--
Ohad Young
Medical Informatics Research Center
Ben Gurion University
Information System Eng
Office Phone: 972-8-6477160
Cellular Phone: 972-54-518301
E-Mail: (e-mail address removed)
In the form's Load event handler I'm trying to hide the form, but still the
form is visible although the Visible property is set to false.
Only if the ShowInTaskBar property is set to false too, it is not visible.
Why?
Isn't there a way to hide a form from its Load event handler but to display
it still in the task bar?
Here is the code:
// handler for the Load event
private void FrmLifetimeDemo_Load(object sender, System.EventArgs e)
{
this.Visible = false;
this.ShowInTaskbar = false;
}
--
Ohad Young
Medical Informatics Research Center
Ben Gurion University
Information System Eng
Office Phone: 972-8-6477160
Cellular Phone: 972-54-518301
E-Mail: (e-mail address removed)