Example #1
0
        private void nextButton_Click(object sender, EventArgs e)
        {
            CT_PhieuDatDichVu pDatDV = new CT_PhieuDatDichVu(MaTiecCuoi);

            pDatDV.parent = this;
            this.Hide();
            pDatDV.ShowDialog();
        }
Example #2
0
        private void btThemDV_Click(object sender, EventArgs e)
        {
            CT_PhieuDatDichVu pDatDV = new CT_PhieuDatDichVu(MaTiecCuoi);

            this.Hide();
            pDatDV.parent = this;
            pDatDV.ShowDialog();
            if (!pDatDV.Focus())
            {
                dgvDV.DataSource = busDV.getPhieuDatDV(MaTiecCuoi);
            }
        }