- Timestamp:
- 07/11/19 12:10:08 (5 years ago)
- Location:
- trunk/HeuristicLab.Core.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Core.Views/3.3/CheckedItemCollectionView.cs
r17009 r17126 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 -
trunk/HeuristicLab.Core.Views/3.3/CheckedItemListView.cs
r17009 r17126 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
Note: See TracChangeset
for help on using the changeset viewer.