Exemple #1
0
 private void OnTranslationDictionaryRemoved(Dictionary dictionary)
 {
     dictionary.TranslationLanguage = null;
 }
Exemple #2
0
 private void OnTranslationDictionaryAdded(Dictionary dictionary)
 {
     dictionary.TranslationLanguage = this;
 }
Exemple #3
0
 private void OnOriginalDictionaryRemoved(Dictionary dictionary)
 {
     dictionary.LearningLanguage = null;
 }
Exemple #4
0
 private void OnOriginalDictionaryAdded(Dictionary dictionary)
 {
     dictionary.LearningLanguage = this;
 }
 public void DeleteDictionary(Dictionary dictionary)
 {
     dataBase.Dictionaries.DeleteOnSubmit(dictionary);
     SubmitChanges();
     LoadData();
 }
 public void AddDictionary(Dictionary dictionary)
 {
     dataBase.Dictionaries.InsertOnSubmit(dictionary);
     SubmitChanges();
     LoadData();
 }