- Timestamp:
- 03/03/15 11:18:07 (10 years ago)
- Location:
- branches/HeuristicLab.DatasetRefactor/sources
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DatasetRefactor/sources
- Property svn:mergeinfo changed
/trunk/sources merged: 12037,12041,12057,12059-12060,12067,12069-12070,12072,12074,12076-12078,12085,12087-12091,12093,12095-12096,12100-12104
- Property svn:mergeinfo changed
-
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.Designer.cs
r12031 r12105 20 20 #endregion 21 21 22 using System.Security.AccessControl; 22 23 using System.Windows.Forms; 23 24 … … 153 154 this.itemsListView.DoubleClick += new System.EventHandler(this.itemsListView_DoubleClick); 154 155 this.itemsListView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.itemsListView_KeyDown); 156 this.itemsListView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.itemsListView_KeyUp); 155 157 // 156 158 // imageList -
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.cs
r12031 r12105 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 } 260 } 261 262 protected virtual void itemsListView_KeyUp(object sender, KeyEventArgs e) { 263 if (e.KeyData == (Keys.Control | Keys.C)) { 264 if (itemsListView.SelectedItems.Count > 0) { 265 var builder = new StringBuilder(); 266 foreach (ListViewItem selected in itemsListView.SelectedItems) { 267 builder.AppendLine(selected.Text); 268 } 269 Clipboard.SetText(builder.ToString()); 258 270 } 259 271 } -
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.Designer.cs
r12031 r12105 20 20 #endregion 21 21 22 using System.Security.AccessControl; 22 23 using System.Windows.Forms; 23 24 … … 106 107 this.itemsListView.DoubleClick += new System.EventHandler(this.itemsListView_DoubleClick); 107 108 this.itemsListView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.itemsListView_KeyDown); 109 this.itemsListView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.itemsListView_KeyUp); 108 110 // 109 111 // imageList -
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r12031 r12105 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 } … … 244 244 } 245 245 } 246 protected virtual void itemsListView_KeyUp(object sender, KeyEventArgs e) { 247 if (e.KeyData == (Keys.Control | Keys.C)) { 248 if (itemsListView.SelectedItems.Count > 0) { 249 var builder = new StringBuilder(); 250 foreach (ListViewItem selected in itemsListView.SelectedItems) { 251 builder.AppendLine(selected.Text); 252 } 253 Clipboard.SetText(builder.ToString()); 254 } 255 } 256 } 246 257 protected virtual void itemsListView_DoubleClick(object sender, EventArgs e) { 247 258 if (itemsListView.SelectedItems.Count == 1) { -
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Core.Views/3.3/ItemListView.Designer.cs
r12031 r12105 155 155 this.itemsListView.DoubleClick += new System.EventHandler(this.itemsListView_DoubleClick); 156 156 this.itemsListView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.itemsListView_KeyDown); 157 this.itemsListView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.itemsListView_KeyUp); 157 158 // 158 159 // imageList -
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs
r12031 r12105 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 } 265 } 266 267 protected virtual void itemsListView_KeyUp(object sender, KeyEventArgs e) { 268 if (e.KeyData == (Keys.Control | Keys.C)) { 269 if (itemsListView.SelectedItems.Count > 0) { 270 var builder = new StringBuilder(); 271 foreach (ListViewItem selected in itemsListView.SelectedItems) { 272 builder.AppendLine(selected.Text); 273 } 274 Clipboard.SetText(builder.ToString()); 263 275 } 264 276 }
Note: See TracChangeset
for help on using the changeset viewer.