diff --git a/Sources/IHM/Desktop/CV_Planification.xaml b/Sources/IHM/Desktop/CV_Planification.xaml index 0f0fc21..8b35113 100644 --- a/Sources/IHM/Desktop/CV_Planification.xaml +++ b/Sources/IHM/Desktop/CV_Planification.xaml @@ -38,62 +38,62 @@ Style="{StaticResource WindowsButton}"/> - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sources/IHM/Desktop/CV_Planification.xaml.cs b/Sources/IHM/Desktop/CV_Planification.xaml.cs index ade5325..0b08ffc 100644 --- a/Sources/IHM/Desktop/CV_Planification.xaml.cs +++ b/Sources/IHM/Desktop/CV_Planification.xaml.cs @@ -10,10 +10,35 @@ public partial class CV_Planification : ContentView public Manager Mgr => (App.Current as App).Manager; + List planification; public CV_Planification() { InitializeComponent(); - BindingContext = this; + + planification = new List(); + + planification.Add(new("Eau", 55, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + planification.Add(new("Amazon", 103.30, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + planification.Add(new("Mutuelle", 38.50, DateTime.Now, MethodePayement.Prevelement, TagOperation.Santé, true)); + planification.Add(new("Loyer", 500, DateTime.Now, MethodePayement.Virement, TagOperation.Habitation, true)); + planification.Add(new("Eau", 55, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + planification.Add(new("Amazon", 103.30, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + planification.Add(new("Mutuelle", 38.50, DateTime.Now, MethodePayement.Prevelement, TagOperation.Santé, true)); + planification.Add(new("Loyer", 500, DateTime.Now, MethodePayement.Virement, TagOperation.Habitation, true)); + planification.Add(new("Eau", 55, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + planification.Add(new("Amazon", 103.30, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + planification.Add(new("Mutuelle", 38.50, DateTime.Now, MethodePayement.Prevelement, TagOperation.Santé, true)); + planification.Add(new("Loyer", 500, DateTime.Now, MethodePayement.Virement, TagOperation.Habitation, true)); + planification.Add(new("Eau", 55, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + planification.Add(new("Amazon", 103.30, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + planification.Add(new("Mutuelle", 38.50, DateTime.Now, MethodePayement.Prevelement, TagOperation.Santé, true)); + planification.Add(new("Loyer", 500, DateTime.Now, MethodePayement.Virement, TagOperation.Habitation, true)); + planification.Add(new("Eau", 55, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + planification.Add(new("Amazon", 103.30, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + planification.Add(new("Mutuelle", 38.50, DateTime.Now, MethodePayement.Prevelement, TagOperation.Santé, true)); + planification.Add(new("Loyer", 500, DateTime.Now, MethodePayement.Virement, TagOperation.Habitation, true)); + + BindingContext = planification; } diff --git a/Sources/IHM/Desktop/Echeancier.xaml b/Sources/IHM/Desktop/Echeancier.xaml index 72d0e00..8e01e4f 100644 --- a/Sources/IHM/Desktop/Echeancier.xaml +++ b/Sources/IHM/Desktop/Echeancier.xaml @@ -42,62 +42,61 @@ Style="{StaticResource WindowsButton}"/> - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -108,9 +107,8 @@ - - + diff --git a/Sources/IHM/Desktop/Echeancier.xaml.cs b/Sources/IHM/Desktop/Echeancier.xaml.cs index 139df2b..1c2077f 100644 --- a/Sources/IHM/Desktop/Echeancier.xaml.cs +++ b/Sources/IHM/Desktop/Echeancier.xaml.cs @@ -1,11 +1,32 @@ +using Model; + namespace IHM.Desktop; public partial class Echeancier : ContentView { + List echeancier; public Echeancier() { InitializeComponent(); - } + + echeancier = new List(); + + echeancier.Add(new("Eau", 55, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + echeancier.Add(new("Amazon", 103.30, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + echeancier.Add(new("Mutuelle", 38.50, DateTime.Now, MethodePayement.Prevelement, TagOperation.Santé, true)); + echeancier.Add(new("Loyer", 500, DateTime.Now, MethodePayement.Virement, TagOperation.Habitation, true)); + echeancier.Add(new("Eau", 55, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + echeancier.Add(new("Amazon", 103.30, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + echeancier.Add(new("Mutuelle", 38.50, DateTime.Now, MethodePayement.Prevelement, TagOperation.Santé, true)); + echeancier.Add(new("Loyer", 500, DateTime.Now, MethodePayement.Virement, TagOperation.Habitation, true)); + echeancier.Add(new("Eau", 55, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + echeancier.Add(new("Amazon", 103.30, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true)); + echeancier.Add(new("Mutuelle", 38.50, DateTime.Now, MethodePayement.Prevelement, TagOperation.Santé, true)); + echeancier.Add(new("Loyer", 500, DateTime.Now, MethodePayement.Virement, TagOperation.Habitation, true)); + + BindingContext = echeancier; + + } private void SaveEcheance_Clicked(object sender, EventArgs e) { diff --git a/Sources/IHM/Desktop/Operations.xaml b/Sources/IHM/Desktop/Operations.xaml index ab4ac3b..a018407 100644 --- a/Sources/IHM/Desktop/Operations.xaml +++ b/Sources/IHM/Desktop/Operations.xaml @@ -59,7 +59,7 @@ - + @@ -76,21 +76,21 @@ - -