windows forms minimize code example Example: c# minimize form this.WindowState = FormWindowState.Minimized;