protected virtual void OnDictionaryUpdated(AddedWordToDictionaryEventArgs e) { EventHandler<AddedWordToDictionaryEventArgs> handler = DictionaryUpdated; if (handler != null) handler(this, e); }
private void _externalDictionary_DictionaryUpdated(object sender, AddedWordToDictionaryEventArgs e) { if (_innerUpdate) return; EventHandler<AddedWordToDictionaryEventArgs> handle = DictionaryUpdated; if (!ReferenceEquals(handle, null)) handle(sender, e); }