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