Exemplo n.º 1
0
 private void ListEjercicios()
 {
     try
     {
         EjercicioDataGrid.ItemsSource = ejercicio.GetAll();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Exemplo n.º 2
0
 private void FillEjercicioCombox()
 {
     EjercicioCombox.ItemsSource       = ejercicio.GetAll();
     EjercicioCombox.DisplayMemberPath = "Nombre";
     EjercicioCombox.SelectedValuePath = "Id";
 }