Changeset 13108
- Timestamp:
- 11/03/15 15:10:55 (9 years ago)
- Location:
- branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartMode.cs
r13076 r13108 55 55 56 56 public virtual void HandleOnMouseUp(object sender, MouseEventArgs e) { } 57 public virtual void HandleOnMouseMove(object sender, MouseEventArgs e) { } 57 58 public virtual void HandleOnMouseMove(object sender, MouseEventArgs e) { 59 previousLocation = e.Location; 60 } 61 58 62 public virtual void HandleOnMouseEnter(object sender, EventArgs e) { } 59 63 public virtual void HandleOnMouseLeave(object sender, EventArgs e) { } -
branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartModes/PanChartMode.cs
r13105 r13108 46 46 47 47 public override void HandleOnMouseMove(object sender, MouseEventArgs e) { 48 base.HandleOnMouseMove(sender, e);49 50 48 try { 51 49 switch (e.Button) { … … 58 56 } 59 57 } finally { 60 previousLocation = e.Location;61 58 chartControl.PictureBox.Update(); 59 base.HandleOnMouseMove(sender, e); 62 60 } 63 61 } -
branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartModes/RulerChartMode.cs
r13105 r13108 44 44 45 45 public override void HandleOnMouseMove(object sender, MouseEventArgs e) { 46 base.HandleOnMouseMove(sender, e);47 48 46 if (startPoint.HasValue) { 49 47 try { … … 54 52 } finally { 55 53 chartControl.PictureBox.Update(); 54 base.HandleOnMouseMove(sender, e); 56 55 } 57 56 } -
branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartModes/SelectChartMode.cs
r13076 r13108 76 76 77 77 public override void HandleOnMouseMove(object sender, MouseEventArgs e) { 78 base.HandleOnMouseMove(sender, e);79 80 78 try { 81 79 cursor = chartControl.Chart.GetCursor(e.Location); … … 94 92 } 95 93 } finally { 96 previousLocation = e.Location;97 94 chartControl.PictureBox.Update(); 95 base.HandleOnMouseMove(sender, e); 98 96 } 99 97 } -
branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartModes/ZoomInChartMode.cs
r13076 r13108 55 55 56 56 public override void HandleOnMouseMove(object sender, MouseEventArgs e) { 57 base.HandleOnMouseMove(sender, e);58 59 57 try { 60 58 switch (e.Button) { … … 72 70 } 73 71 } finally { 74 previousLocation = e.Location;75 72 chartControl.PictureBox.Update(); 73 base.HandleOnMouseMove(sender, e); 76 74 } 77 75 }
Note: See TracChangeset
for help on using the changeset viewer.