private void Button_gridbut_Click(object sender, RoutedEventArgs e)
 {
     if (sender == LaunchButton)
     {
         try
         {
             PlacesShowDetailsByLocationTask showPlace = new PlacesShowDetailsByLocationTask();
             showPlace.Location = new GeoCoordinate(Double.Parse(LatitudeBox.Text), Double.Parse(LongittudeBox.Text));
             showPlace.Title    = StringBox.Text;
             showPlace.Show();
         }
         catch (Exception erno)
         {
             MessageBox.Show("Error message: " + erno.Message);
         }
     }
     else if (sender == getGeoButton)
     {
         NavigationService.Navigate(new Uri("/LocationSelectorPage.xaml?target=Location", UriKind.Relative));
     }
 }
 private void Button_gridbut_Click(object sender, RoutedEventArgs e)
 {
     if (sender == LaunchButton)
     {
         try
         {
             PlacesShowDetailsByLocationTask showPlace = new PlacesShowDetailsByLocationTask();
             showPlace.Location = new GeoCoordinate(Double.Parse(LatitudeBox.Text), Double.Parse(LongittudeBox.Text));
             showPlace.Title = StringBox.Text;
             showPlace.Show();
         }
         catch (Exception erno)
         {
             MessageBox.Show("Error message: " + erno.Message);
         }
     }
     else if (sender == getGeoButton)
     {
         NavigationService.Navigate(new Uri("/LocationSelectorPage.xaml?target=Location", UriKind.Relative));
     }
 }
 private void btnPlacesShowDetailsByLocationTask_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         PlacesShowDetailsByLocationTask showPlace = new PlacesShowDetailsByLocationTask();
         showPlace.Location = new GeoCoordinate(LatitudSevilla, LongitudSevilla);
         showPlace.Title = "Sevilla";
         showPlace.Show();
     }
     catch (Exception erno)
     {
         MessageBox.Show("Error message: " + erno.Message);
     }
 }