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