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