How to Hide when form is minimized

Share this Article :


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; }

Written by adrevol

{adrevol has written 91 posts on ITTreats.com . See all posts by }


Leave a Reply