private void LoadChucVuCMB() { List <ChucVuDTO> listCV = chucVuBUS.GetDanhSach(); if (listCV == null) { XtraMessageBox.Show("KHÔNG THỂ LOAD ĐƯỢC DỮ LIỆU", "Thông Báo Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } comboBoxCV.DataSource = new BindingSource(listCV, string.Empty); comboBoxCV.DisplayMember = "StrTenCV"; comboBoxCV.ValueMember = "StrMaCV"; // cmbTenChucVu.SelectedItem = "StrTenChucVu"; CurrencyManager myCurrencyManager = (CurrencyManager)this.BindingContext[comboBoxCV.DataSource]; myCurrencyManager.Refresh(); if (comboBoxCV.Items.Count > 0) { comboBoxCV.SelectedIndex = 0; } }