bool bol = false; foreach (Form fm in Application.OpenForms) { if (fm is fmSales) { bol = true;fm.Activate (); break; } } if (!bol) new fmSales().Show();