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"; } }
private void btn_changeViewSettingsMap_Click(object sender, RoutedEventArgs e) { GlobalMapView.FitTheStuff(); ChangeTransistorTo(1); }