예제 #1
0
        private void HandleFinishedTest()
        {
            _stopWatch.Stop();

            this.Hide();

            var testResultsForm = new TestResultsForUnknownWordsForm(_selectedLanguage, TestType.Verbal, _stopWatch,
                                                                     _startingCountOfUnknownWords, _learnedWords);

            testResultsForm.Show();
        }
        private void HandleFinishedTest()
        {
            InputLanguage.CurrentInputLanguage = _originalInputLanguage;

            _stopWatch.Stop();

            this.Hide();

            var testResultsForm = new TestResultsForUnknownWordsForm(_selectedLanguage, TestType.Grammar, _stopWatch, _startingCountOfUnknownWords, _learnedWords);

            testResultsForm.Closed += (s, args) => this.Close();

            testResultsForm.Show();
        }