private void toolStripMenuItem2_Click(object sender, EventArgs e) { CallRecords frmCallRecord = new CallRecords(); if (IsFormOpen("CallRecords")) { Application.OpenForms["CallRecords"].BringToFront(); } else { frmCallRecord.MdiParent = this; client.BringToFront(); frmCallRecord.Show(); } }
private void btnCallRecord_Click(object sender, EventArgs e) { CallRecords callrec = new CallRecords(); callrec.Show(); }