Ejemplo n.º 1
0
 private void ComputeIntersection()
 {
     currentIntersection = allButtons.Where(b => IntersectsMoreThanHalf(b.Frame)).FirstOrDefault();
 }
Ejemplo n.º 2
0
 public void DragDelta(double horizontalChange, double verticalChange)
 {
     currentIntersection = null;
     currentRectangle.X += horizontalChange;
     currentRectangle.Y += verticalChange;
 }