using Modele; using Persistance; using StubLib; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Projet1 { /// /// Interaction logic for App.xaml /// public partial class App : Application { /// /// Manager permettant la gestion de l'Application, Initialisé avec la persistance (Soit Stub, soit XMLPersistance) /// public Manager LeManager { get; private set; } = new Manager(new XMLPersistance()); //Interchangable entre stub et xmlpersistance /// /// Action lors de l'appuie du bouton Modifier (Crayon du Master), Affiche un nouvelle fenêtre /// /// Bouton Modifier /// Evénement private void Button_Modif(object sender, RoutedEventArgs e) { var modifierWindow = new WindowModif(); modifierWindow.ShowDialog(); } } }