Example #1
0
        public void SelectButton(object param)
        {
            string userAnswer = param as string;

            if (userAnswer.Equals(this.PropAnswer))
            {
                MessageBox.Show(Messenger.GoodAnswer());
                this.QuestionsProp += 1;
            }
            else
            {
                MessageBox.Show(Messenger.BadAnswer());
            }
            NextQuestion();
        }