- Timestamp:
- 01/28/10 05:19:03 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemParameterView.cs
r2676 r2694 142 142 if ((type != null) && (Parameter.DataType.IsAssignableFrom(type))) { 143 143 if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Copy; // CTRL key 144 else if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Move; // ALT key 145 else e.Effect = DragDropEffects.Link; 144 else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move; // SHIFT key 145 else if ((e.AllowedEffect & DragDropEffects.Link) == DragDropEffects.Link) e.Effect = DragDropEffects.Link; 146 else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy; 147 else if ((e.AllowedEffect & DragDropEffects.Move) == DragDropEffects.Move) e.Effect = DragDropEffects.Move; 146 148 } 147 149 }
Note: See TracChangeset
for help on using the changeset viewer.