private void OpenDictionary() { dictionaryWindow = new DictionaryWindow(); dictionaryWindow.DeleteWordButtonClick += DictionaryWindow_DeleteWordButtonClick; dictionaryWindow.SaveDictionaryButtonClick += DictionaryWindow_SaveDictionaryButtonClick; dictionaryWindow.DictionaryChanged += DictionaryWindow_DictionaryChanged; InitializeDictionary(); dictionaryWindow.BindDictionaryWithGrid(dictionaryManager.WordDictionary); dictionaryWindow.OpenWindow(); }
private void OpenDictionary() { dictionaryWindow = new DictionaryWindow(); dictionaryWindow.DeleteWordButtonClick += DictionaryWindow_DeleteWordButtonClick; dictionaryWindow.SaveDictionaryButtonClick += DictionaryWindow_SaveDictionaryButtonClick; dictionaryWindow.DictionaryChanged += DictionaryWindow_DictionaryChanged; InitializeDictionary(); dictionaryWindow.BindDictionaryWithGrid(dictionaryManager.WordDictionary); dictionaryWindow.OpenWindow(); }