- Timestamp:
- 07/11/19 12:41:55 (5 years ago)
- Location:
- branches/2994-AutoDiffForIntervals
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2994-AutoDiffForIntervals
- Property svn:mergeinfo changed
/trunk merged: 17121,17125-17128
- Property svn:mergeinfo changed
-
branches/2994-AutoDiffForIntervals/HeuristicLab.Core.Views
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Core.Views merged: 17126-17127
- Property svn:mergeinfo changed
-
branches/2994-AutoDiffForIntervals/HeuristicLab.Core.Views/3.3/CheckedItemCollectionView.cs
r17120 r17130 84 84 if (doubleClick) { 85 85 e.NewValue = e.CurrentValue; 86 doubleClick = false;87 86 } else { 88 87 bool check = e.NewValue == CheckState.Checked; … … 104 103 } 105 104 protected void itemsListView_MouseDown(object sender, MouseEventArgs e) { 106 if (e.Clicks > 1) 107 doubleClick = true; 105 doubleClick = e.Clicks > 1; 108 106 } 109 107 #endregion -
branches/2994-AutoDiffForIntervals/HeuristicLab.Core.Views/3.3/CheckedItemListView.cs
r17120 r17130 86 86 if (doubleClick) { 87 87 e.NewValue = e.CurrentValue; 88 doubleClick = false;89 88 } else { 90 89 bool check = e.NewValue == CheckState.Checked; … … 107 106 108 107 protected void itemsListView_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) { 109 if (e.Clicks > 1) 110 doubleClick = true; 108 doubleClick = e.Clicks > 1; 111 109 } 112 110 -
branches/2994-AutoDiffForIntervals/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r17120 r17130 248 248 Clipboard.SetText(builder.ToString()); 249 249 } 250 } else if (itemsListView.MultiSelect && e.KeyData == (Keys.A | Keys.Control)) { 251 try { 252 itemsListView.BeginUpdate(); 253 foreach (ListViewItem item in itemsListView.Items) 254 item.Selected = true; 255 } finally { itemsListView.EndUpdate(); } 250 256 } 251 257 } -
branches/2994-AutoDiffForIntervals/HeuristicLab.Core.Views/3.3/ItemListView.cs
r17120 r17130 269 269 Clipboard.SetText(builder.ToString()); 270 270 } 271 } else if (itemsListView.MultiSelect && e.KeyData == (Keys.A | Keys.Control)) { 272 try { 273 itemsListView.BeginUpdate(); 274 foreach (ListViewItem item in itemsListView.Items) 275 item.Selected = true; 276 } finally { itemsListView.EndUpdate(); } 271 277 } 272 278 }
Note: See TracChangeset
for help on using the changeset viewer.