To Hide a Form when minimize button is pressed, we have to write a event for Form Sized Changed event in that,
add this condition
if (this.WindowState == System.Windows.Forms.FormWindowState.Minimized) { this.Visible = false; }
To Hide a Form when minimize button is pressed, we have to write a event for Form Sized Changed event in that,
add this condition
if (this.WindowState == System.Windows.Forms.FormWindowState.Minimized) { this.Visible = false; }