public VocabularyWordController(VocabularyWord vocabularyWord) { ListViewItem = new ListViewItem { Tag = vocabularyWord, UseItemStyleForSubItems = false }; motherTongueColumn = ListViewItem.SubItems.Add(new ListViewItem.ListViewSubItem(ListViewItem, "")); foreignLangColumn = ListViewItem.SubItems.Add(new ListViewItem.ListViewSubItem(ListViewItem, "")); praticeDateColumn = ListViewItem.SubItems.Add(new ListViewItem.ListViewSubItem(ListViewItem, "")); VocabularyWord = vocabularyWord; VocabularyWord.PropertyChanged += (a0, a1) => UpdateUI(); UpdateUI(); }
public VocabularyWordPractice(VocabularyWord word) { VocabularyWord = word; }