Exemple #1
0
 void client_ReverseGeocodeCompleted(object sender, MobileSrc.Services.GeocodeServices.ReverseGeocodeCompletedEventArgs e)
 {
     if (null != e.Error)
     {
         Utils.DisplayNetworkError();
         return;
     }
     _routeLocation = Utils.CreateRouteLocation(e.Result.Results[0]);
     ((MenuItem)menu.Items[0]).Header = string.Format("{0}", _routeLocation.Address);
 }
Exemple #2
0
 void client_ReverseGeocodeCompleted(object sender, MobileSrc.Services.GeocodeServices.ReverseGeocodeCompletedEventArgs e)
 {
     if (null != e.Error)
     {
         Utils.DisplayNetworkError();
         return;
     }
     _routeLocation = Utils.CreateRouteLocation(e.Result.Results[0]);
     ((MenuItem)menu.Items[0]).Header = string.Format("{0}", _routeLocation.Address);
 }