// HERZUM SPRINT 2.0 TLAB-136-2 // HERZUM SPRINT 2.5 TLAB-136 // static double x2 = -1; // static double y2 = -1; // END HERZUM SPRINT 2.5 TLAB-136 // END HERZUM SPRINT 2.0 TLAB-136-2 public override void MouseUp(MouseEvent ev) { // HERZUM SPRINT 2.5 TLAB-136 if (!mouseDown) { return; } else { mouseUp = true; mouseDown = false; } // END HERZUM SPRINT 2.5 TLAB-136 // HERZUM SPRINT 2.0 TLAB-136-2 // HERZUM SPRINT 2.5 TLAB-136 /* * if (x2!=-1 && (x2 != ev.X || y2 != ev.Y)){ * x2 = ev.X; * y2 = ev.Y; * } * else if (x2 == ev.X && y2 == ev.Y) * return; * else { * x2 = ev.X; * y2 = ev.Y; * } */ // END HERZUM SPRINT 2.5 TLAB-136 // END HERZUM SPRINT 2.2 TLAB-136-2 if (DelegateTool != null) { DelegateTool.MouseUp(ev); } }