- Timestamp:
- 05/05/10 00:10:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionTabularView.cs
r3566 r3614 54 54 } 55 55 56 protected override void OnContentChanged() { 57 base.OnContentChanged(); 58 if (Content != null) { 59 foreach (IRun run in Content) 60 UpdateRun(run); 61 } 62 } 63 56 64 protected override void RegisterContentEvents() { 57 65 base.RegisterContentEvents(); … … 88 96 private void run_Changed(object sender, EventArgs e) { 89 97 IRun run = (IRun)sender; 98 UpdateRun(run); 99 } 100 101 private void UpdateRun(IRun run) { 90 102 int rowIndex = Content.ToList().IndexOf(run); 91 103 rowIndex = virtualRowIndizes[rowIndex]; … … 104 116 } 105 117 } 106 107 118 108 119 protected override int[] Sort(IEnumerable<KeyValuePair<int, SortOrder>> sortedColumns) {
Note: See TracChangeset
for help on using the changeset viewer.