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(); }
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(); }