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();