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