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