private void frmGiamSatXe_ChuyenVung_XinDiemDo_Load(object sender, EventArgs e) { TimeServer = Taxi.Business.CommonBL.GetTimeServer(); txtSoHieu.Properties.DataSource = lienlac.GetListAllXe_ForXinDiemDo(); txtSoHieu.Properties.DisplayMember = "SoHieuXe"; txtSoHieu.Properties.ValueMember = "MaLaiXe"; txtSoHieu.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; txtSoHieu.Properties.Mask.EditMask = @"\d+"; lVungDieuHanh.Properties.DataSource = new VungDieuHanh().GetTenVungDieuHanh(); lVungDieuHanh.Properties.DisplayMember = "TenVung"; lVungDieuHanh.Properties.ValueMember = "Id"; deThoiDiem.DateTime = TimeServer; txtSoHieu.Focus(); }