public WordsLoader(DictionaryWindow ParentWindow) { this.wordsList = new List <Word>(); //this.parentWindow = ParentWindow; this.fileName = @startupPath + "\\Dictionary.TXT"; CheckFileExistence(); }
private void ButtonDictionary_Click(object sender, RoutedEventArgs e) { DictionaryWindow dictionaryWindow = new DictionaryWindow(this.mainWin); dictionaryWindow.Owner = this.mainWin; }