Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/07/10 04:45:45 (15 years ago)
Author:
swagner
Message:

Implemented reviewers' comments (#893)

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  
    230230      Type type = e.Data.GetData("Type") as Type;
    231231      if ((type != null) && (Content.ProblemType.IsAssignableFrom(type))) {
    232         if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link;  // CTRL key
     232        if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Link;  // ALT key
    233233        else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move;  // SHIFT key
    234234        else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy;
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/BatchRunView.cs

    r3588 r3694  
    215215      Type type = e.Data.GetData("Type") as Type;
    216216      if ((type != null) && (typeof(IAlgorithm).IsAssignableFrom(type))) {
    217         if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link;  // CTRL key
     217        if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Link;  // ALT key
    218218        else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move;  // SHIFT key
    219219        else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy;
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionView.cs

    r3632 r3694  
    232232      Type type = e.Data.GetData("Type") as Type;
    233233      if (!Content.IsReadOnly && !ReadOnly && (type != null) && (typeof(IRun).IsAssignableFrom(type))) {
    234         if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link;  // CTRL key
     234        if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Link;  // ALT key
    235235        else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move;  // SHIFT key
    236236        else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy;
Note: See TracChangeset for help on using the changeset viewer.