private void HandleFinishedTest()
        {
            _stopWatch.Stop();

            this.Hide();

            var testResultsForm = new TestResultsForAllWordsForm(_selectedLanguage, TestType.Verbal, _stopWatch,
                                                                 _startingCountOfAllWords, _learnedWords, _knownWords, _newUnknownWords, _unknownWords);

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

            testResultsForm.Show();
        }
Exemplo n.º 2
0
        private void HandleFinishedTest()
        {
            InputLanguage.CurrentInputLanguage = _originalInputLanguage;

            _stopWatch.Stop();

            this.Hide();

            var testResultsForm = new TestResultsForAllWordsForm(_selectedLanguage, TestType.Grammar, _stopWatch,
                                                                 _startingCountOfAllWords, _learnedWords, _knownWords, _newUnknownWords, _unknownWords);

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

            testResultsForm.Show();
        }