private void Feature_AttributeValueChanged(object sender, DictionaryChangedEventArgs e) { if (!this.isUpdatedByCommitButton && e.Action == System.Collections.Specialized.NotifyCollectionChangedAction.Replace) { UpdateDataForm(e.Key, e.NewValue); } }
private void Feature_ValueChanged(object sender, DictionaryChangedEventArgs e) { EventHandler<DictionaryChangedEventArgs> attributeValueChanged = this.AttributeValueChanged; if (attributeValueChanged != null) { attributeValueChanged(this, e); } }