private void btnKetThuc_Click(object sender, EventArgs e) { // DieuXe.Thoigiancho = KetNoi.ThucThi() DieuXe.Thoigiancho = LichTrinh._thoiGiabCho(dgDieuXe.CurrentRow.Cells[0].Value.ToString()); DieuXe.Thoigiandi = LichTrinh._thoiGiabDi(dgDieuXe.CurrentRow.Cells[0].Value.ToString()); DieuXe.Quadem = LichTrinh._quadem(dgDieuXe.CurrentRow.Cells[0].Value.ToString()); DieuXe.Madon = Int16.Parse(dgDieuXe.CurrentRow.Cells[0].Value.ToString()); KetThuc kt = new KetThuc(); kt.Show(); }