private void ButtonFinish_Click(object sender, RoutedEventArgs e) { FinishWindow variantFinished = new FinishWindow(); variantFinished.Show(); Hide(); }
private void ButtonFinish_Click(object sender, RoutedEventArgs e) { var UserAnswer = TextBoxAnswer.Text; UpdateWindow(); UpdateAnswers(_currentExerciseId, UserAnswer); FinishWindow variantFinished = new FinishWindow(Answers); variantFinished.Show(); Hide(); }