using System.Drawing; using System.Windows.Forms; namespace HeuristicLab.Visualization { /// /// Interface for MouseEventListeners like ZoomListener, PanListener etc. to simplify state handling. /// public interface IMouseEventListener { /// /// Call this method on mouse move. /// /// /// void MouseMove(object sender, MouseEventArgs e); /// /// Call this method on mouse up. /// /// /// void MouseUp(object sender, MouseEventArgs e); } public delegate void MoveHandler(Point startPoint, Point endPoint); public delegate void RectangleHandler(Rectangle rectangle); }