From 8d160998bf1a7508d774336773a53d1bb56fd48e Mon Sep 17 00:00:00 2001 From: Raphael LACOTE Date: Fri, 14 Oct 2022 17:09:37 +0200 Subject: [PATCH] Modification des UC Compte et modif Solde --- Code/IHM/UCCompte.xaml | 2 +- Code/IHM/UCCompte.xaml.cs | 10 +++++++--- Code/IHM/UCModifSolde.xaml | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Code/IHM/UCCompte.xaml b/Code/IHM/UCCompte.xaml index 875e81c..6879b17 100644 --- a/Code/IHM/UCCompte.xaml +++ b/Code/IHM/UCCompte.xaml @@ -30,7 +30,7 @@ - diff --git a/Code/IHM/UCCompte.xaml.cs b/Code/IHM/UCCompte.xaml.cs index 4c90587..6b36bb0 100644 --- a/Code/IHM/UCCompte.xaml.cs +++ b/Code/IHM/UCCompte.xaml.cs @@ -15,14 +15,18 @@ using System.Windows.Shapes; namespace IHM { - /// - /// Logique d'interaction pour UCCompte.xaml - /// + public partial class UCCompte : UserControl { + public Navigator Nav => (App.Current as App).Navigator; public UCCompte() { InitializeComponent(); } + private void Button_Click_ModifSolde(object sender, RoutedEventArgs e) + { + Nav.NavigateTo(Navigator.PART_MODIFSOLDE); + } } + } diff --git a/Code/IHM/UCModifSolde.xaml b/Code/IHM/UCModifSolde.xaml index 9089041..ea6d449 100644 --- a/Code/IHM/UCModifSolde.xaml +++ b/Code/IHM/UCModifSolde.xaml @@ -11,7 +11,7 @@ Modification de votre solde - +