예제 #1
0
 public ShellViewModel()
 {
     LoadNotes();
     LoadMMDevices();
     soundPlayer              = new SoundPlayerViewModel(this, this);
     soundPlayer.NoteChanged += SoundPlayerOnNoteChanged;
     AnswerBoard              = new AnswerBoardViewModel(notes, soundPlayer.CurrentNote, this);
 }
예제 #2
0
 private void SoundPlayerOnNoteChanged(NoteViewModel oldNote, NoteViewModel newNote)
 {
     AnswerBoard = new AnswerBoardViewModel(notes, newNote, this);
 }