Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo n.º 3
0
 protected virtual void OnTrackUpdated(TrackUpdatedEventArgs e)
 {
     TrackUpdated?.Invoke(this, e);
 }