From 235267f3f4a0ee2ca68e866a3fc75004b56c59a1 Mon Sep 17 00:00:00 2001 From: Raphael LACOTE Date: Fri, 14 Oct 2022 17:15:07 +0200 Subject: [PATCH] Modification du navigateur avec l'ajout d'UC ModifSolde --- Code/IHM/Navigator.cs | 2 ++ Code/IHM/UCModifSolde.xaml.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Code/IHM/Navigator.cs b/Code/IHM/Navigator.cs index 953b410..f9ce3a9 100644 --- a/Code/IHM/Navigator.cs +++ b/Code/IHM/Navigator.cs @@ -20,6 +20,7 @@ namespace IHM public const string PART_MAIN = "Main"; public const string PART_CONNEXION = "Connexion"; public const string PART_INSCRIPTION = "Inscription"; + public const string PART_MODIFSOLDE = "ModifSolde"; public ReadOnlyDictionary> WindowPart { get; private set; } @@ -37,6 +38,7 @@ namespace IHM { [PART_CONNEXION] = () => new UCConnexion(), [PART_INSCRIPTION] = () => new UCInscription(), + [PART_MODIFSOLDE] = () => new UCModifSolde(), }; public ReadOnlyDictionary> WindowMain { get; private set; } diff --git a/Code/IHM/UCModifSolde.xaml.cs b/Code/IHM/UCModifSolde.xaml.cs index 0c02e63..23b41c0 100644 --- a/Code/IHM/UCModifSolde.xaml.cs +++ b/Code/IHM/UCModifSolde.xaml.cs @@ -20,6 +20,8 @@ namespace IHM /// public partial class ModifSolde : UserControl { + public Navigator Nav => (App.Current as App).Navigator; + public ModifSolde() { InitializeComponent();