- Timestamp:
- 04/26/10 00:56:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/VariableValueView.cs
r3455 r3526 113 113 Type type = e.Data.GetData("Type") as Type; 114 114 if (!ReadOnly && (type != null) && (typeof(IItem).IsAssignableFrom(type))) { 115 if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects. Copy; // CTRL key115 if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link; // CTRL key 116 116 else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move; // SHIFT key 117 else if ((e.AllowedEffect & DragDropEffects.Link) == DragDropEffects.Link) e.Effect = DragDropEffects.Link;118 117 else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy; 119 118 else if ((e.AllowedEffect & DragDropEffects.Move) == DragDropEffects.Move) e.Effect = DragDropEffects.Move; 119 else if ((e.AllowedEffect & DragDropEffects.Link) == DragDropEffects.Link) e.Effect = DragDropEffects.Link; 120 120 } 121 121 }
Note: See TracChangeset
for help on using the changeset viewer.