Exemplo n.º 1
0
        private void txtPrint_Click(object sender, EventArgs e)
        {
            frmBill frmID = new frmBill();

            frmID.ShowDialog();
            this.Hide();
        }
Exemplo n.º 2
0
        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;
            }
        }