Changeset 4883 for trunk/sources/HeuristicLab.Optimization
- Timestamp:
- 11/21/10 18:19:39 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/RunCollection.cs
r4722 r4883 285 285 #endregion 286 286 287 #region 288 public event EventHandler<EventArgs<bool>> UpdateOfRunsInProgress; 289 public void OnUpdateOfRunsInProgress(bool inProgress) { 290 var handler = UpdateOfRunsInProgress; 291 if (handler != null) handler(this, new EventArgs<bool>(inProgress)); 292 } 293 #endregion 294 287 295 #region filtering 288 296 private void UpdateFiltering(bool reset) { 297 OnUpdateOfRunsInProgress(true); 289 298 if (reset) 290 299 list.ForEach(r => r.Visible = true); 291 300 foreach (IRunCollectionConstraint constraint in this.constraints) 292 301 constraint.Check(); 302 OnUpdateOfRunsInProgress(false); 293 303 } 294 304
Note: See TracChangeset
for help on using the changeset viewer.