private void _fields_DictionaryOperation(object sender, DictionaryOperationEventArgs <string, string> e) { IsModified = true; }
private void OnEnginePlayingEventsDictionaryOperation(object o, DictionaryOperationEventArgs<VideoLayer, Event> e) { Application.Current.Dispatcher.BeginInvoke((Action)delegate() { if (e.Operation == TDictionaryOperation.Add) _visibleEvents.Add(e.Value); else _visibleEvents.Remove(e.Value); }); }