Beispiel #1
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     if (SelectedCollection != null)
     {
         Settings.Settings.Default.DeleteGeocacheCollection(SelectedCollection.CollectionID);
         AvailableCollections.Remove(SelectedCollection);
     }
 }
Beispiel #2
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     if (SelectedCollection != null && AvailableCollections.Contains(SelectedCollection))
     {
         Core.Settings.Default.DeleteCollection(SelectedCollection);
         AvailableCollections.Remove(SelectedCollection);
     }
 }