示例#1
0
 private void OnAnswerApplied(object sender, NoteEventArgs e)
 {
     if (e.IsNotValid)
     {
         MessageBox.Show("Ответ правильный.");
     }
     else
     {
         MessageBox.Show("Ответ неверный. Правильный ответ - нота " + Trainer.CurrentNote.Symbol);
     }
     Trainer.GenerateNote();
 }
示例#2
0
 private void OnNoteGenerated(object sender, NoteEventArgs e)
 {
     notePictureBox.ImageLocation = e.Note.Image;
 }