/// <summary> /// Calls frmPartyBalance form /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void partyBalanceToolStripMenuItem_Click(object sender, EventArgs e) { try { frmPartyBalance frm = new frmPartyBalance(); frmPartyBalance open = Application.OpenForms["frmPartyBalance"] as frmPartyBalance; if (open == null) { frm.MdiParent = this; frm.Show(); } else { open.Activate(); } } catch (Exception ex) { MessageBox.Show("MDI 118: " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }