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