private void OpenMainForm() { ClientInterfaceAndAnalysis frm2 = new ClientInterfaceAndAnalysis(); frm2.FormClosed += new FormClosedEventHandler(frm2_FormClosed); frm2.Show(); // Since this.Hide() for some reason doesn't work, i'll have to do this crap this.WindowState = FormWindowState.Minimized; this.ShowInTaskbar = false; }