Esempio n. 1
0
        private void ButtonFinish_Click(object sender, RoutedEventArgs e)
        {
            FinishWindow variantFinished = new FinishWindow();

            variantFinished.Show();
            Hide();
        }
Esempio n. 2
0
        private void ButtonFinish_Click(object sender, RoutedEventArgs e)
        {
            var UserAnswer = TextBoxAnswer.Text;

            UpdateWindow();
            UpdateAnswers(_currentExerciseId, UserAnswer);
            FinishWindow variantFinished = new FinishWindow(Answers);

            variantFinished.Show();
            Hide();
        }