// Sub Menu Options private void mainMenuBoxReport(object sender, EventArgs e) { var z = Application.OpenForms.Cast<Form>().FirstOrDefault(form => form.GetType() == typeof(frmReport)) as frmReport; if (z != null) { WinFormsUtil.CenterToForm(z, this); z.BringToFront(); return; } frmReport ReportForm = new frmReport(); ReportForm.Show(); ReportForm.PopulateData(SAV.BoxData); }