예제 #1
0
 public void initializeBackend(List <Word> wordList, Word word_)
 {
     isSynonymPopulated = false;
     WordList           = wordList;
     CurrentWord        = word_;
     myIterator         = new WordListIterator(WordList);
 }
예제 #2
0
        public void initializeUI()
        {
            additionalInfoFlag = false;
            myIterator         = new WordListIterator(wordDictionary.WordList);

            string[] listTypes = { "All Words", "UnMastered Words", "Mastered Words" };
            cbxListSelector.ItemsSource   = listTypes;
            cbxListSelector.SelectedIndex = 0;

            lblNoOfWords.Content     += wordDictionary.Count.ToString();
            lblWords2Master.Content  += wordDictionary.UnMasteredCount.ToString();
            lblWordsMastered.Content += wordDictionary.MasteredCount.ToString();
            setText(myIterator.First());
        }