예제 #1
0
 private void SoundPlayerOnNoteChanged(NoteViewModel oldNote, NoteViewModel newNote)
 {
     AnswerBoard = new AnswerBoardViewModel(notes, newNote, this);
 }
예제 #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);
 }