public MainWindow() { initializeBackend(); InitializeComponent(); wordIterator.WordDictionary = wordDictionary; wordIterator.initializeUI(); wordATimeWin = new WordATime(); wordATimeWin.init(wordDictionary.UnMasteredWordList[0], wordDictionary.UnMasteredWordList); focusWords.windowWordATime = wordATimeWin; focusWords.WordDictionary = wordDictionary; focusWords.initializeUI(); //wordDictionary.searchWord("abacus"); search1.setUI(wordDictionary); // wordTab1.CurrentWord = wordDictionary.WordList[0]; // wordTab1.initializeUI(); }