Changeset 12395 for branches/HiveStatistics/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.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.Core.Views/3.3/ItemCollectionView.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. … … 24 24 using System.Collections.Generic; 25 25 using System.Linq; 26 using System.Text; 26 27 using System.Windows.Forms; 27 28 using HeuristicLab.Collections; … … 140 141 try { 141 142 return (T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 142 } 143 catch (Exception ex) { 143 } catch (Exception ex) { 144 144 ErrorHandling.ShowErrorDialog(this, ex); 145 145 } … … 242 242 } 243 243 } 244 } else if (e.KeyData == (Keys.Control | Keys.C)) { 245 if (itemsListView.SelectedItems.Count > 0) { 246 var builder = new StringBuilder(); 247 foreach (ListViewItem selected in itemsListView.SelectedItems) { 248 builder.AppendLine(selected.Text); 249 } 250 Clipboard.SetText(builder.ToString()); 251 } 244 252 } 245 253 }
Note: See TracChangeset
for help on using the changeset viewer.