Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5831


Ignore:
Timestamp:
03/25/11 13:07:35 (14 years ago)
Author:
mkommend
Message:

#1451: Fixed updating of result views in ResultCollectionView.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ResultCollectionView.cs

    r5819 r5831  
    4343    }
    4444
     45    protected override void RegisterItemEvents(IResult item) {
     46      base.RegisterItemEvents(item);
     47      item.ValueChanged += (o, e) => itemsListView_SelectedIndexChanged(o, e);
     48    }
     49    protected override void DeregisterItemEvents(IResult item) {
     50      item.ValueChanged -= (o, e) => itemsListView_SelectedIndexChanged(o, e);
     51      base.DeregisterItemEvents(item);
     52    }
     53
    4554    protected override IResult CreateItem() {
    4655      return null;
Note: See TracChangeset for help on using the changeset viewer.