From c031ce2137686b8ed4d871305c86421ed24836b7 Mon Sep 17 00:00:00 2001 From: hulivet1 Date: Wed, 18 Jan 2023 18:08:51 +0100 Subject: [PATCH] gestion combo box --- Sources/IHM/Desktop/CV_SupprimerEcheance.xaml | 7 +++++-- .../IHM/Desktop/CV_SupprimerEcheance.xaml.cs | 20 ++++--------------- Sources/IHM/Desktop/DashBoard.xaml | 8 ++++---- Sources/IHM/IHM.csproj | 9 +++++++++ Sources/Modele/Echeance.cs | 2 +- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Sources/IHM/Desktop/CV_SupprimerEcheance.xaml b/Sources/IHM/Desktop/CV_SupprimerEcheance.xaml index 9456bc9..3e3c3ab 100644 --- a/Sources/IHM/Desktop/CV_SupprimerEcheance.xaml +++ b/Sources/IHM/Desktop/CV_SupprimerEcheance.xaml @@ -32,9 +32,12 @@ - + - + @@ -39,10 +39,10 @@ - - + + - + diff --git a/Sources/IHM/IHM.csproj b/Sources/IHM/IHM.csproj index f0cbae0..01af24c 100644 --- a/Sources/IHM/IHM.csproj +++ b/Sources/IHM/IHM.csproj @@ -73,6 +73,15 @@ + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + PreserveNewest diff --git a/Sources/Modele/Echeance.cs b/Sources/Modele/Echeance.cs index e3c01c3..4ebfa82 100644 --- a/Sources/Modele/Echeance.cs +++ b/Sources/Modele/Echeance.cs @@ -35,7 +35,7 @@ namespace Model public override string ToString() { - return Nom + " " + DateOperation + " " + Montant + " " + ModePayement + " " + IsDebit + " " + Tag; + return Nom + " - " + DateOperation.ToShortDateString() + " - " + Montant + " €"; } }