Changeset 3694 for trunk/sources/HeuristicLab.Optimization.Views/3.3
- Timestamp:
- 05/07/10 04:45:45 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimization.Views/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/AlgorithmView.cs
r3588 r3694 230 230 Type type = e.Data.GetData("Type") as Type; 231 231 if ((type != null) && (Content.ProblemType.IsAssignableFrom(type))) { 232 if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link; // CTRLkey232 if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Link; // ALT key 233 233 else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move; // SHIFT key 234 234 else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy; -
trunk/sources/HeuristicLab.Optimization.Views/3.3/BatchRunView.cs
r3588 r3694 215 215 Type type = e.Data.GetData("Type") as Type; 216 216 if ((type != null) && (typeof(IAlgorithm).IsAssignableFrom(type))) { 217 if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link; // CTRLkey217 if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Link; // ALT key 218 218 else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move; // SHIFT key 219 219 else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy; -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionView.cs
r3632 r3694 232 232 Type type = e.Data.GetData("Type") as Type; 233 233 if (!Content.IsReadOnly && !ReadOnly && (type != null) && (typeof(IRun).IsAssignableFrom(type))) { 234 if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link; // CTRLkey234 if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Link; // ALT key 235 235 else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move; // SHIFT key 236 236 else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy;
Note: See TracChangeset
for help on using the changeset viewer.