You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

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
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
/// <summary>
/// Manager permettant la gestion de l'Application, Initialisé avec la persistance (Soit Stub, soit XMLPersistance)
/// </summary>
public Manager LeManager { get; private set; } = new Manager(new XMLPersistance()); //Interchangable entre stub et xmlpersistance
/// <summary>
/// Action lors de l'appuie du bouton Modifier (Crayon du Master), Affiche un nouvelle fenêtre
/// </summary>
/// <param name="sender">Bouton Modifier</param>
/// <param name="e">Evénement</param>
private void Button_Modif(object sender, RoutedEventArgs e)
{
var modifierWindow = new WindowModif();
modifierWindow.ShowDialog();
}
}
}