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.Visible = false;
this.ShowInTaskbar = false;
this.Opacity = 0;
so how to disable viewing my form in top of start menu button?