Пример #1
0
        public void OnCheckAnswerEvent(CheckAnswerArgs e)
        {
            CheckAnswerHandler checkAnswerEvent = CheckAnswerEvent;

            if (checkAnswerEvent != null)
            {
                checkAnswerEvent(e);
            }
        }
Пример #2
0
 private void CheckAnswer(CheckAnswerArgs e)
 {
     if (e.ButtonContent == CurrentPokemon.Name)
     {
         correctCount++;
         OnPropertyChanged("CorrectLabel");
     }
     else
     {
         wrongCount++;
         OnPropertyChanged("WrongLabel");
     }
     displayPokemon = true;
     OnPropertyChanged("Image");
     assentLevel();
 }
Пример #3
0
 private void Quiz_CheckAnswerEvent(CheckAnswerArgs e)
 {
     CheckAnswer(e);
 }
Пример #4
0
 private void Quiz_CheckAnswerEvent(CheckAnswerArgs e)
 {
     setButtons();
 }