Changeset 12395 for branches/HiveStatistics/sources/HeuristicLab.Problems.Scheduling.Views/3.3/JobShopSchedulingProblemView.cs
- Timestamp:
- 05/20/15 16:41:14 (10 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
- Property svn:mergeinfo changed
-
branches/HiveStatistics/sources/HeuristicLab.Problems.Scheduling.Views/3.3/JobShopSchedulingProblemView.cs
r11205 r12395 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 52 52 Content.JobDataParameter.ValueChanged -= JobDataParameterOnValueChanged; 53 53 Content.JobData.ItemsAdded -= JobsOnChanged; 54 Content.JobData.ItemsRemoved -= JobsOn Changed;54 Content.JobData.ItemsRemoved -= JobsOnRemoved; 55 55 Content.JobData.ItemsReplaced -= JobsOnChanged; 56 56 Content.JobData.CollectionReset -= JobsOnChanged; … … 64 64 Content.JobDataParameter.ValueChanged += JobDataParameterOnValueChanged; 65 65 Content.JobData.ItemsAdded += JobsOnChanged; 66 Content.JobData.ItemsRemoved += JobsOn Changed;66 Content.JobData.ItemsRemoved += JobsOnRemoved; 67 67 Content.JobData.ItemsReplaced += JobsOnChanged; 68 68 Content.JobData.CollectionReset += JobsOnChanged; … … 80 80 } 81 81 82 private void JobsOnRemoved(object sender, CollectionItemsChangedEventArgs<IndexedItem<Job>> e) { 83 foreach (var job in e.Items) 84 job.Value.TasksChanged -= JobOnTasksChanged; 85 FillGanttChart(); 86 } 87 82 88 private void JobDataParameterOnValueChanged(object sender, EventArgs e) { 83 89 Content.JobData.ItemsAdded += JobsOnChanged; 84 Content.JobData.ItemsRemoved += JobsOn Changed;90 Content.JobData.ItemsRemoved += JobsOnRemoved; 85 91 Content.JobData.ItemsReplaced += JobsOnChanged; 86 92 Content.JobData.CollectionReset += JobsOnChanged;
Note: See TracChangeset
for help on using the changeset viewer.