/// <summary> /// Calls frmMenuCustomization form to customize as per user /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnCustomizeMenu_Click(object sender, EventArgs e) { try { this.Enabled = false; frmMenuCustomization objMenuCustomization = new frmMenuCustomization(); frmMenuCustomization open = Application.OpenForms["frmMenuCustomization"] as frmMenuCustomization; if (open == null) { objMenuCustomization.MdiParent = this.MdiParent; objMenuCustomization.Shows(this); } else { open.Activate(); } } catch (Exception ex) { MessageBox.Show("QL:3" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }