Esempio n. 1
0
 private void SoundPlayerOnNoteChanged(NoteViewModel oldNote, NoteViewModel newNote)
 {
     AnswerBoard = new AnswerBoardViewModel(notes, newNote, this);
 }
Esempio n. 2
0
 public AnswerViewModel(NoteViewModel note)
 {
     this.note   = note;
     DisplayName = note.DisplayName;
 }
 public void LoadNote(NoteViewModel noteViewModel, MMDevice device)
 {
     _soundPlayer.ChangeSound(noteViewModel.FileName);
     currentNote = noteViewModel;
     NotifyOfPropertyChange(() => CanTogglePlay);
 }