private void PrevButton_Click(object sender, RoutedEventArgs e) { if (currentProblem > 0) currentProblem--; ShowCurrentProblem(); }