示例#1
0
 public void NotifyDragExit(IDraggable obj, ScrumGestures.TouchPoint pt)
 {
     this.Invoke(() =>
     {
         this.Effect = null;
     });
 }
示例#2
0
 public void NotifyDragEnter(IDraggable obj, ScrumGestures.TouchPoint pt)
 {
     this.Invoke(() =>
     {
         this.Effect = Controls.Style.StyleHelper.GetOuterGlow(Controls.Style.Colors.ObjectGlowShared);
     });
 }
示例#3
0
 public void NotifyDragDrop(IDraggable obj, ScrumGestures.TouchPoint pt)
 {
     ((UserStoryControl)obj).UserStory.Effort.Value = this.Effort.Value;
     ((UserStoryControl)obj).UserInterface.UpdateData(((UserStoryControl)obj).UserStory);
     this.Invoke(() =>
     {
         this.Effect = null;
     });
 }
示例#4
0
 public void NotifyDragExit(IDraggable obj, ScrumGestures.TouchPoint pt)
 {
     if (obj.GetType() == typeof(UserStoryControl))
     {
         UserStoryControl usc = obj as UserStoryControl;
         this.Invoke(() =>
         {
             //Gefahr gebannt
             usc.DeleteVisible = false;
         });
     }
 }
示例#5
0
 public void NotifyDragEnter(IDraggable obj, ScrumGestures.TouchPoint pt)
 {
     if (obj.GetType() == typeof(UserStoryControl))
     {
         UserStoryControl usc = obj as UserStoryControl;
         this.Invoke(() =>
         {
             //Zeigen: Wenn du jetzt das Element loslässt, wird es gelöscht
             usc.DeleteVisible = true;
         });
     }
 }
示例#6
0
 public void NotifyDragDrop(IDraggable obj, ScrumGestures.TouchPoint pt)
 {
     if (obj.GetType() == typeof(UserStoryControl))
     {
         UserStoryControl usc = obj as UserStoryControl;
         this.Invoke(() =>
         {
             // Element wurde doch losgelassen! Also löschen
             Surface.Database.RemoveItem(usc.Item);
             if (ItemRemoved != null)
             {
                 ItemRemoved(this, usc.Item);
             }
         });
     }
 }