Changeset 7085 for branches/RegressionBenchmarks/HeuristicLab.Optimization.Views/3.3/RunCollectionView.cs
- Timestamp:
- 11/28/11 13:47:28 (13 years ago)
- Location:
- branches/RegressionBenchmarks
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RegressionBenchmarks
- Property svn:ignore
-
old new 4 4 *.suo 5 5 *.vsp 6 Doxygen 6 7 Google.ProtocolBuffers-0.9.1.dll 7 8 HeuristicLab 3.3.5.1.ReSharper.user 8 9 HeuristicLab 3.3.6.0.ReSharper.user 9 10 HeuristicLab.4.5.resharper.user 11 HeuristicLab.ExtLibs.6.0.ReSharper.user 10 12 HeuristicLab.resharper.user 11 13 ProtoGen.exe … … 16 18 bin 17 19 protoc.exe 18 HeuristicLab.ExtLibs.6.0.ReSharper.user19 Doxygen
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/RegressionBenchmarks/HeuristicLab.Optimization.Views/3.3/RunCollectionView.cs
r6693 r7085 238 238 private void itemsListView_SelectedIndexChanged(object sender, EventArgs e) { 239 239 removeButton.Enabled = itemsListView.SelectedItems.Count > 0 && (Content != null) && !Content.IsReadOnly && !ReadOnly; 240 AdjustListViewColumnSizes(); 240 // for performance reason (multiple selection fires this handler for every selected item) 241 if (itemsListView.SelectedIndices.Count <= 1) 242 AdjustListViewColumnSizes(); 241 243 if (showDetailsCheckBox.Checked) { 242 244 if (itemsListView.SelectedItems.Count == 1) { … … 325 327 items = items.Select(x => cloner.Clone(x)); 326 328 } 327 foreach (IRun item in items) 328 Content.Add(item); 329 if (RunCollection != null) { 330 RunCollection.AddRange(items); 331 } else { // the content is an IItemCollection<IRun> 332 foreach (IRun item in items) 333 Content.Add(item); 334 } 329 335 } 330 336 }
Note: See TracChangeset
for help on using the changeset viewer.