Exemplo n.º 1
0
        void LoadPersistedConfig()
        {
            string filename = Utils.GetFile();

            if (filename == null)
            {
                return;
            }

            object loadedobject = PersistSettings.Load(filename);

            if (loadedobject != null)
            {
                //LiveCollection = (ObservableCollection<ISessionColumn>)loadedobject;
            }
        }
        void StartTimer()
        {
            // Start the timer
            this.timer.Start();

            // Remember that the timer was running if the page is left before stopping
            this.isTimerRunning.Value = true;
            if ((TimeSpan)this.StartOffset.Value == TimeSpan.Zero)
            {
                this.firstGone.Value = false;
            }
            else
            {
                this.firstGone.Value = true;
                this.currentLapTime = StartOffset.Value;
            }
        }