private void Modifier_groupe_Click(object sender, RoutedEventArgs e) { AjoutGroupe win = new AjoutGroupe((Objetcs.CollectionGroup)ListBoxGroupes.SelectedItem); var currentApp = System.Windows.Application.Current as App; currentApp.MyData.Colstruct.ListCollectionGroup.Remove((Objetcs.CollectionGroup)ListBoxGroupes.SelectedItem); win.ShowDialog(); }
private void Ajouter_groupe_Click(object sender, RoutedEventArgs e) { AjoutGroupe win = new AjoutGroupe(); win.ShowDialog(); }