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); }
void gps_DeviceStateChanged(object sender, GpsDeviceState args) { device = args; if (IsVisible) { Invoke(updateDataHandler); } }
void gps_DeviceStateChanged(object sender, DeviceStateChangedEventArgs args) { device = args.DeviceState; UpdateGpsDeviceState(); try { Invoke(UpdateGpsDataHandler); } catch { } }
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(); }
void gps_DeviceStateChanged(object sender, DeviceStateChangedEventArgs args) { device = args.DeviceState; UpdateGpsDeviceState(); try { Invoke(UpdateGpsDataHandler); } catch { } }
void gps_DeviceStateChanged(object sender, DeviceStateChangedEventArgs args) { GpsDeviceState device = args.DeviceState; ControlUpdater cu = UpdateControl; }
void _gps_DeviceStateChanged(object sender, DeviceStateChangedEventArgs args) { GpsDeviceState = args.DeviceState; PrintLn("GPS Device State Changed: " + GpsDeviceState); }