A
amil [c#newbie]
Hi all,
I am using the Notify Icon sample that came with .Net Docs and was able
to run it. However, I want to start the form as minimized. I have the
ShowInTaskbar = false and in the this is my code in the form load:
private void Form1_Load(object sender, System.EventArgs e)
{
this.WindowState = FormWindowState.Minimized;
this.Visible = false;
}
This will still display a minimized window title bar near the Windows Start
button.
It does not totally hide the form.
Also, can I remove just the "X" or close button of the form and retain the
minimize/maximize buttons?
TIA.
I am using the Notify Icon sample that came with .Net Docs and was able
to run it. However, I want to start the form as minimized. I have the
ShowInTaskbar = false and in the this is my code in the form load:
private void Form1_Load(object sender, System.EventArgs e)
{
this.WindowState = FormWindowState.Minimized;
this.Visible = false;
}
This will still display a minimized window title bar near the Windows Start
button.
It does not totally hide the form.
Also, can I remove just the "X" or close button of the form and retain the
minimize/maximize buttons?
TIA.