Version 1.12.1: Some cleanup and minor improvements.

This commit is contained in:
ClemensF 2014-06-11 23:03:13 +02:00
parent 4f37eaa914
commit ed140c6d01
36 changed files with 220 additions and 194 deletions

View file

@ -173,7 +173,7 @@ namespace ViewModel
Interval = TimeSpan.FromSeconds(0.1)
};
timer.Tick += (sender, e) =>
timer.Tick += (s, e) =>
{
var p = Points.Last();
p.Location = new Location(p.Location.Latitude + 0.001, p.Location.Longitude + 0.002);
@ -181,7 +181,7 @@ namespace ViewModel
if (p.Location.Latitude > 54d)
{
p.Name = "Stopped";
((DispatcherTimer)sender).Stop();
((DispatcherTimer)s).Stop();
}
};