private void frmChuyenXe_Load(object sender, EventArgs e) { LoadData(); txtMaChuyen.Text = ChuyenXeBUS.GetIDChuyenXe(); btnThem.Enabled = true; btnCapNhat.Enabled = false; btnXoa.Enabled = false; }
void Reset() { txtMaChuyen.Text = ChuyenXeBUS.GetIDChuyenXe(); txtHangXe.ResetText(); txtGiaVe.ResetText(); btnThem.Enabled = true; btnCapNhat.Enabled = false; btnXoa.Enabled = false; }