Esempio n. 1
0
 private void ChangeTransistor()
 {
     if (grid_pickBot.Visibility == Visibility.Visible)
     {
         return;
     }
     if (transit.SelectedIndex == 0)
     {
         GlobalMapView.FitTheStuff();
         transit.SelectedIndex         = 1;
         changeViewSettingsMap.Content = "Settings";
     }
     else
     {
         transit.SelectedIndex         = 0;
         changeViewSettingsMap.Content = "World Map";
     }
 }
Esempio n. 2
0
 private void btn_changeViewSettingsMap_Click(object sender, RoutedEventArgs e)
 {
     GlobalMapView.FitTheStuff();
     ChangeTransistorTo(1);
 }