Пример #1
0
 internal void abrirParaEditar(Profesional prof)
 {
     unProfesional = prof;
     txtDocumento.Text = prof.Documento;
     txtMatricula.Text = prof.Matricula;
     txtNombre.Text = prof.Nombre;
     cmbDocumento.SelectedItem = prof.TipoDocumento;
     txtMatricula.Enabled = false;
     btnNuevo.Visible = false;
     cmbEspecialidad.SelectedValue = unProfesional.Especialidad;
 }
 private void limpiarUnPrestador()
 {
     unProfesional.Dispose();
     unProfesional = new Profesional();
 }