|
|
@ -8,9 +8,15 @@ public partial class App : Application
|
|
|
|
public Manager manager { get; private set; } = new Manager(new Stub());
|
|
|
|
public Manager manager { get; private set; } = new Manager(new Stub());
|
|
|
|
public App()
|
|
|
|
public App()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
string appDirectory = AppContext.BaseDirectory;
|
|
|
|
|
|
|
|
int sousDossier = 53;
|
|
|
|
|
|
|
|
appDirectory = appDirectory.Substring(0, appDirectory.Length - sousDossier);
|
|
|
|
|
|
|
|
Directory.SetCurrentDirectory(appDirectory);
|
|
|
|
|
|
|
|
Debug.WriteLine("Directory");
|
|
|
|
|
|
|
|
Debug.WriteLine(Directory.GetCurrentDirectory());
|
|
|
|
manager.chargeDonne();
|
|
|
|
manager.chargeDonne();
|
|
|
|
//manager.Persi = new DataContractPersistance.DataContractPers();
|
|
|
|
manager.Persi = new DataContractPersistance.DataContractPers();
|
|
|
|
//manager.sauvegardeDonnee();
|
|
|
|
manager.sauvegardeDonnee();
|
|
|
|
Debug.WriteLine(manager.listUtil[0]);
|
|
|
|
Debug.WriteLine(manager.listUtil[0]);
|
|
|
|
InitializeComponent();
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
|
|
|
|
|
|