示例#1
0
 private void CarregarEmpresasCorretores()
 {
     cbxEmpresaCorretor.Properties.DataSource    = c_empresaCorretor.CarregarEmpresaCorretor();
     cbxEmpresaCorretor.Properties.DisplayMember = "nomeempresa";
     cbxEmpresaCorretor.Properties.ValueMember   = "idempresacorretor";
     if (_alterarCad == false)
     {
         cbxEmpresaCorretor.ItemIndex = -1;
     }
 }