示例#1
0
 private void OnTranslationDictionaryRemoved(Dictionary dictionary)
 {
     dictionary.TranslationLanguage = null;
 }
示例#2
0
 private void OnTranslationDictionaryAdded(Dictionary dictionary)
 {
     dictionary.TranslationLanguage = this;
 }
示例#3
0
 private void OnOriginalDictionaryRemoved(Dictionary dictionary)
 {
     dictionary.LearningLanguage = null;
 }
示例#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();
 }