Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Visualization/3.2/IMouseEventListener.cs @ 3491

Last change on this file since 3491 was 2019, checked in by bspisic, 15 years ago

Added some comments (#664)

File size: 830 bytes
Line 
1using System.Drawing;
2using System.Windows.Forms;
3
4namespace HeuristicLab.Visualization {
5  /// <summary>
6  /// Interface for MouseEventListeners like ZoomListener, PanListener etc. to simplify state handling.
7  /// </summary>
8  public interface IMouseEventListener {
9    /// <summary>
10    /// Call this method on mouse move.
11    /// </summary>
12    /// <param name="sender"></param>
13    /// <param name="e"></param>
14    void MouseMove(object sender, MouseEventArgs e);
15
16    /// <summary>
17    /// Call this method on mouse up.
18    /// </summary>
19    /// <param name="sender"></param>
20    /// <param name="e"></param>
21    void MouseUp(object sender, MouseEventArgs e);
22  }
23
24  public delegate void MoveHandler(Point startPoint, Point endPoint);
25  public delegate void RectangleHandler(Rectangle rectangle);
26}
Note: See TracBrowser for help on using the repository browser.