private void OnTranslationDictionaryRemoved(Dictionary dictionary) { dictionary.TranslationLanguage = null; }
private void OnTranslationDictionaryAdded(Dictionary dictionary) { dictionary.TranslationLanguage = this; }
private void OnOriginalDictionaryRemoved(Dictionary dictionary) { dictionary.LearningLanguage = null; }
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(); }