By john_zakaria - 3/1/2011
hi everyone
i want to minimize my form to system tray in my C# windows application and hide it from taskbar
my main problem is that when i click on minimize it goes to system tray and hide from taskbar
but it goes to the top of start menu
please find the attached what i mean.
1- i want to know where is the minimize button action in my application
my code is as follow
private void Form1_Resize(object sender, EventArgs e)
{
if (WindowState == FormWindowState.Minimized)
{
this.Hide();
this.Visible = false;
this.ShowInTaskbar = false;
this.Opacity = 0;
}
}
so how to disable viewing my form in top of start menu button?
|
By annaharris - 5/29/2013
I don't think that this is going to work as the form will still be visible within the start menu.
|
|