public bool AddAlphabet(char alphabet) { if (!Alphabets.Contains(alphabet)) { Alphabets.Add(alphabet); return(true); } return(false); }
private void addItem(AlphabetItem item) { item.PropertyChanged += new PropertyChangedEventHandler(item_PropertyChanged); Alphabets.Add(item); saveToSettings(); }