Changeset 2017 for trunk/sources/HeuristicLab.Visualization
- Timestamp:
- 06/04/09 20:55:51 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Visualization/3.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/3.2/LineChart.cs
r2016 r2017 648 648 PanListener panListener = new PanListener(e.Location); 649 649 panListener.Pan += Pan; 650 panListener.PanEnd += PanEnd;651 650 652 651 mouseEventListener = panListener; … … 716 715 717 716 canvasUI.Invalidate(); 718 }719 720 private void PanEnd(Point startPoint, Point endPoint) {721 Pan(startPoint, endPoint);722 717 } 723 718 -
trunk/sources/HeuristicLab.Visualization/3.2/PanListener.cs
r1530 r2017 7 7 8 8 public event MoveHandler Pan; 9 public event MoveHandler PanEnd;10 9 11 10 public PanListener(Point startPoint) { … … 23 22 } 24 23 25 public void MouseUp(object sender, MouseEventArgs e) { 26 if(PanEnd != null) { 27 PanEnd(startPoint, e.Location); 28 } 29 } 24 public void MouseUp(object sender, MouseEventArgs e) {} 30 25 31 26 #endregion
Note: See TracChangeset
for help on using the changeset viewer.