Example #1
0
            /// <summary>Shows all-zero values</summary>
            /// <param name="form">Form holding the data</param>
            public static void ClearAll(TrackerForm form)
            {
                if (!AdvancedConfig.InfoPane)
                {
                    return;
                }

                GpsStatistics st = new GpsStatistics(form, DateTime.Now, new GpsPoint(0, 0, 0));

                st.ShowValues(ValueKind.All);
            }
Example #2
0
            public GpsStatistics(TrackerForm form, DateTime startTime, GpsPoint startPosition)
            {
                if (form == null)
                {
                    throw new ArgumentNullException("form");
                }

                StartTime = CurrentTime = startTime;
                startPos = CurrentPos = startPosition;
                this.form = form;
                ShowValues(ValueKind.All);
            }
Example #3
0
            public GpsStatistics(TrackerForm form, DateTime startTime, GpsPoint startPosition)
            {
                if (form == null)
                {
                    throw new ArgumentNullException("form");
                }

                StartTime = CurrentTime = startTime;
                startPos  = CurrentPos = startPosition;
                this.form = form;
                ShowValues(ValueKind.All);
            }
Example #4
0
            /// <summary>Shows all-zero values</summary>
            /// <param name="form">Form holding the data</param>
            public static void ClearAll(TrackerForm form)
            {
                if (!AdvancedConfig.InfoPane)
                {
                    return;
                }

                GpsStatistics st = new GpsStatistics(form, DateTime.Now, new GpsPoint(0, 0, 0));
                st.ShowValues(ValueKind.All);
            }