private void Modifier_colletion_Click(object sender, RoutedEventArgs e) { AjoutCollection win = new AjoutCollection((Objetcs.Collection)ListBoxCollections.SelectedItem); var currentApp = System.Windows.Application.Current as App; currentApp.MyData.ListCollection.Remove((Objetcs.Collection)ListBoxCollections.SelectedItem); win.ShowDialog(); }
private void Ajouter_collection_Click(object sender, RoutedEventArgs e) { AjoutCollection win = new AjoutCollection(); win.ShowDialog(); }