private void gps_Click(object sender, RoutedEventArgs e) { if (this.MapContainer == null) { return; } if (m_gps == null) { m_gps = new GPSSample(); m_gps.MapContainer = this.MapContainer; } m_gps.Show(); }
/// <summary> /// 设备信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void gps_Click(object sender, RoutedEventArgs e) { if (this.ImsMap == null) { return; } if (gps == null) { gps = new GPSSample(); gps.MapContainer = this.ImsMap; } gps.Show(); }
/// <summary> /// 设备信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void gps_Click(object sender, RoutedEventArgs e) { if (this.ImsMap == null) { return; } if (gps == null) { gps = new GPSSample(); gps.MapContainer = this.ImsMap; gps.GpsSvcUrl = "http://192.168.83.174/GPSService/gpsHandler.ashx"; } gps.Show(); }