private void handler_Click(object sender, RoutedEventArgs e)
{
    Test_Verification_System();
    for (int j = 0; j < 1; j++)
    {
        MessageBoxResult result = MessageBox.Show("Ви дійсно хочете завершити тест?", "Создать еще ", MessageBoxButton.YesNo, MessageBoxImage.Question);
        for (int i = 0; i < radioButtons.Count; i++)
        {
            //Проблема здесь,почему у мене не работает переход,когда пользователь нажимает   "Да"        
            if (result == MessageBoxResult.Yes)
            {
                yourBall += ball;
                this.Hide();
                Results results = new Results();
                results.Show();
                // break;
            }
            else if (result == MessageBoxResult.No)
            {
                radioButtons[i].IsEnabled = true;
                handler.IsEnabled = true;
            }
            MessageBox.Show($"Ваш бал", yourBall.ToString());
            break;
        }
    }
}