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