Esempio n. 1
0
        public void StartNewTrack()
        {
            this.SetTrack(new Track());
            this.stopwatch.Reset();
            this.Extendable = true;

            TrackUpdatedEventArgs args = new TrackUpdatedEventArgs(this.track);

            this.OnTrackUpdated(args);
        }
Esempio n. 2
0
        protected void TrackLocation(Location location)
        {
            if (!this.AddToTrack)
            {
                return;
            }
            this.track.Add(location);

            TrackUpdatedEventArgs args = new TrackUpdatedEventArgs(this.track);

            this.OnTrackUpdated(args);
        }
Esempio n. 3
0
 protected virtual void OnTrackUpdated(TrackUpdatedEventArgs e)
 {
     TrackUpdated?.Invoke(this, e);
 }