private void CarregarCorretores() { cbxcCorretores.Properties.DataSource = c_corretor.CarregarCorretores(); cbxcCorretores.Properties.DisplayMember = "nome"; cbxcCorretores.Properties.ValueMember = ""; cbxcCorretores.Properties.BeginUpdate(); }
private void CarregarCbxCorretores() { cbxCorretor.Properties.DataSource = c_corretor.CarregarCorretores(); cbxCorretor.Properties.DisplayMember = "nome"; cbxCorretor.Properties.ValueMember = "idcorretor"; if (_AlteraCad == false) { cbxCorretor.ItemIndex = -1; } }