/// <summary> /// Sets initial values for some fields that need it. /// </summary> private void InitializeFields() { languageViewModel = new LanguageViewModel(); // default language = english currentInputWord = string.Empty; filter = WordType.All; timer = new DispatcherTimer(); timer.Tick += TimerTick; }