From 5289eb3e64f8e7343bbed855686fdd3839d28fa6 Mon Sep 17 00:00:00 2001 From: Nicolas MAYE Date: Thu, 19 Jan 2023 22:43:36 +0100 Subject: [PATCH] binding compte fini --- Sources/IHM/Desktop/CV_debit.xaml.cs | 2 +- Sources/IHM/Desktop/Compte.xaml | 40 +++++++++++++++++----------- 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/Sources/IHM/Desktop/CV_debit.xaml.cs b/Sources/IHM/Desktop/CV_debit.xaml.cs index d322383..b9a383e 100644 --- a/Sources/IHM/Desktop/CV_debit.xaml.cs +++ b/Sources/IHM/Desktop/CV_debit.xaml.cs @@ -22,7 +22,7 @@ public partial class CV_debit : ContentView private void Button_Valider(object sender, EventArgs e) { string nom = name.Text; - double Montant = Double.Parse(montant.Text); + double Montant = double.Parse(montant.Text); string Type = type.Text; string Tag = tag.Text; DateTime Date = date.Date; diff --git a/Sources/IHM/Desktop/Compte.xaml b/Sources/IHM/Desktop/Compte.xaml index df95d4f..717777c 100644 --- a/Sources/IHM/Desktop/Compte.xaml +++ b/Sources/IHM/Desktop/Compte.xaml @@ -9,8 +9,9 @@ - - + + + @@ -38,31 +39,38 @@ - + - - - - + - + + + + + + + + + - - - - + + + + + +