private void txtPrint_Click(object sender, EventArgs e) { frmBill frmID = new frmBill(); frmID.ShowDialog(); this.Hide(); }
private void M_BILL_Click(object sender, EventArgs e) { try { Form[] activeChild = this.MdiChildren; if (activeChild.Length == 0) { frmBill frmID = new frmBill(); frmID.ShowDialog(); } } catch (Exception ex) { throw ex; } }