- Timestamp:
- 03/04/15 15:52:36 (10 years ago)
- Location:
- stable
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 12078,12125
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Core.Views/3.3/ItemArrayView.Designer.cs
r12009 r12127 20 20 #endregion 21 21 22 using System.Security.AccessControl; 22 23 using System.Windows.Forms; 23 24 -
stable/HeuristicLab.Core.Views/3.3/ItemArrayView.cs
r12009 r12127 24 24 using System.Drawing; 25 25 using System.Linq; 26 using System.Text; 26 27 using System.Windows.Forms; 27 28 using HeuristicLab.Collections; … … 141 142 try { 142 143 return (T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 143 } 144 catch (Exception ex) { 144 } catch (Exception ex) { 145 145 ErrorHandling.ShowErrorDialog(this, ex); 146 146 } … … 256 256 foreach (ListViewItem item in itemsListView.SelectedItems) 257 257 Content[item.Index] = null; 258 } 259 } else if (e.KeyData == (Keys.Control | Keys.C)) { 260 if (itemsListView.SelectedItems.Count > 0) { 261 var builder = new StringBuilder(); 262 foreach (ListViewItem selected in itemsListView.SelectedItems) { 263 builder.AppendLine(selected.Text); 264 } 265 Clipboard.SetText(builder.ToString()); 258 266 } 259 267 } -
stable/HeuristicLab.Core.Views/3.3/ItemCollectionView.Designer.cs
r12009 r12127 20 20 #endregion 21 21 22 using System.Security.AccessControl; 22 23 using System.Windows.Forms; 23 24 -
stable/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r12009 r12127 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 } -
stable/HeuristicLab.Core.Views/3.3/ItemListView.cs
r12009 r12127 25 25 using System.Drawing; 26 26 using System.Linq; 27 using System.Text; 27 28 using System.Windows.Forms; 28 29 using HeuristicLab.Collections; … … 146 147 try { 147 148 return (T)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 148 } 149 catch (Exception ex) { 149 } catch (Exception ex) { 150 150 ErrorHandling.ShowErrorDialog(this, ex); 151 151 } … … 261 261 foreach (ListViewItem item in itemsListView.SelectedItems) 262 262 Content.RemoveAt(item.Index); 263 } 264 } else if (e.KeyData == (Keys.Control | Keys.C)) { 265 if (itemsListView.SelectedItems.Count > 0) { 266 var builder = new StringBuilder(); 267 foreach (ListViewItem selected in itemsListView.SelectedItems) { 268 builder.AppendLine(selected.Text); 269 } 270 Clipboard.SetText(builder.ToString()); 263 271 } 264 272 }
Note: See TracChangeset
for help on using the changeset viewer.