Exemple #1
0
        void gps_DeviceStateChanged(object sender, DeviceStateChangedEventArgs args)
        {
            device = args.DeviceState;

            // call the UpdateData method via the updateDataHandler so that we
            // update the UI on the UI thread
            Invoke(updateDataHandler);
        }
Exemple #2
0
        void gps_DeviceStateChanged(object sender, GpsDeviceState args)
        {
            device = args;

            if (IsVisible)
            {
                Invoke(updateDataHandler);
            }
        }
Exemple #3
0
        void gps_DeviceStateChanged(object sender, DeviceStateChangedEventArgs args)
        {
            device = args.DeviceState;

            UpdateGpsDeviceState();

            try
            {
                Invoke(UpdateGpsDataHandler);
            }
            catch { }
        }
Exemple #4
0
        protected void gps_DeviceStateChanged(object sender, DeviceStateChangedEventArgs args)
        {
            device = args.DeviceState;

            this.mainControler.MainForm.BeginInvoke(updateStatusHandler);
            // call the UpdateData method via the updateDataHandler so that we
            // update the UI on the UI thread
            //if (this.mainControler.MainForm.InvokeRequired)
            //{
            //    this.mainControler.MainForm.BeginInvoke(updateDataHandler);

            //}
            //else SetInvalidateRegions();
        }
Exemple #5
0
        void gps_DeviceStateChanged(object sender, DeviceStateChangedEventArgs args)
        {
            device = args.DeviceState;

            UpdateGpsDeviceState();

            try
            {
                Invoke(UpdateGpsDataHandler);
            }
            catch { }
        }
Exemple #6
0
 void gps_DeviceStateChanged(object sender, DeviceStateChangedEventArgs args)
 {
     GpsDeviceState device = args.DeviceState;
     ControlUpdater cu     = UpdateControl;
 }
Exemple #7
0
 void _gps_DeviceStateChanged(object sender, DeviceStateChangedEventArgs args)
 {
     GpsDeviceState = args.DeviceState;
     PrintLn("GPS Device State Changed: " + GpsDeviceState);
 }