private void llenaGrilla() { ServicioGeneralClient servicioGeneral = new ServicioGeneralClient(); var withBlock = dtgClases; withBlock.DataSource = servicioGeneral.getClaseResponsable(3, 0); }
private void cargaCombos() { ServicioGeneralClient servicioGeneral = new ServicioGeneralClient(); var withBlock = cboPais; withBlock.DataSource = servicioGeneral.getPaises(1, 0); withBlock.ValueMember = "CODIGO"; withBlock.DisplayMember = "NOMBRE"; withBlock.SelectedValue = 0; var withBlockClaseResponsable = cboClaseResponsable; withBlockClaseResponsable.DataSource = servicioGeneral.getClaseResponsable(1, 0); withBlockClaseResponsable.ValueMember = "CODIGO"; withBlockClaseResponsable.DisplayMember = "NOMBRE"; withBlockClaseResponsable.SelectedValue = 0; }