private void ShowResult() { ResultForm resultForm = new ResultForm(exercise.GetResult(), source); if (resultForm.ShowDialog() == DialogResult.OK) { FinishExercise(); } else { ResumeTyping(); } }