예제 #1
0
 private void DisplayLocationButton_Click(object sender, RoutedEventArgs e)
 {
     if (LocationsListBox.SelectedItem != null)
     {
         MapGenerator.DisplayLocation((Location)LocationsListBox.SelectedItem);
     }
 }
예제 #2
0
 private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e)
 {
     MapGenerator.DisplayLocation(SelectedLocation);
     e.Handled = true;
 }