Changeset 12634


Ignore:
Timestamp:
07/07/15 12:21:44 (4 years ago)
Author:
jkarder
Message:

#2416: refactored invoke call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Scripting.Views/3.3/VariableStoreView.cs

    r12615 r12634  
    368368
    369369    protected virtual void Content_CollectionReset(object sender, CollectionItemsChangedEventArgs<KeyValuePair<string, object>> e) {
    370       if (InvokeRequired)
    371         Invoke(new CollectionItemsChangedEventHandler<KeyValuePair<string, object>>(Content_CollectionReset), sender, e);
     370      if (InvokeRequired) Invoke((Action<object, CollectionItemsChangedEventArgs<KeyValuePair<string, object>>>)Content_CollectionReset, sender, e);
    372371      else {
    373372        foreach (var item in e.OldItems)
Note: See TracChangeset for help on using the changeset viewer.