private void nextButton_Click(object sender, EventArgs e) { CT_PhieuDatDichVu pDatDV = new CT_PhieuDatDichVu(MaTiecCuoi); pDatDV.parent = this; this.Hide(); pDatDV.ShowDialog(); }
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); } }