Exemplo n.º 1
0
 private void OpenExerciseLookup()
 {
     if (!exerciseLookupWindow.IsLoaded)
     {
         exerciseLookupWindow = new ExerciseLookupWindow();
     }
     exerciseLookupWindow.ChangeSelectedExercise(CurrentlySelectedExercise, folderPath, "kk");
     exerciseLookupWindow.Show();
 }
Exemplo n.º 2
0
 public TrainingViewModel()
 {
     LoadSettingsFromFile();
     LoadData();
     saveCommand               = new RelayCommand(Save);
     deleteCommand             = new RelayCommand(Delete);
     resetCommand              = new RelayCommand(Reset);
     openExerciseLookupCommand = new RelayCommand(OpenExerciseLookup);
     exerciseLookupWindow      = new ExerciseLookupWindow();
     openSettingsWindowCommand = new RelayCommand(OpenSettingsWindow);
     settingsWindow            = new SettingsWindow(FolderPath, ChangeFolderPath, clientName, ChangeClientName);
 }