diff --git a/Sources/IHM/Desktop/CV_AddPlanification.xaml b/Sources/IHM/Desktop/CV_AddPlanification.xaml
index d114a1c..58e1f91 100644
--- a/Sources/IHM/Desktop/CV_AddPlanification.xaml
+++ b/Sources/IHM/Desktop/CV_AddPlanification.xaml
@@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.CV_AddPlanification">
-
+
@@ -23,21 +23,21 @@
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
+
+
-
+
diff --git a/Sources/IHM/Desktop/CV_DeletePlanification.xaml b/Sources/IHM/Desktop/CV_DeletePlanification.xaml
index 8ca3fc5..aee89af 100644
--- a/Sources/IHM/Desktop/CV_DeletePlanification.xaml
+++ b/Sources/IHM/Desktop/CV_DeletePlanification.xaml
@@ -4,36 +4,38 @@
xmlns:inputs="clr-namespace:Syncfusion.Maui.Inputs;assembly=Syncfusion.Maui.Inputs"
x:Class="IHM.Desktop.CV_DeletePlanification">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Sources/IHM/Desktop/CV_EnregistrerEcheance.xaml b/Sources/IHM/Desktop/CV_EnregistrerEcheance.xaml
index 76449c6..5e58852 100644
--- a/Sources/IHM/Desktop/CV_EnregistrerEcheance.xaml
+++ b/Sources/IHM/Desktop/CV_EnregistrerEcheance.xaml
@@ -4,36 +4,39 @@
xmlns:inputs="clr-namespace:Syncfusion.Maui.Inputs;assembly=Syncfusion.Maui.Inputs"
x:Class="IHM.Desktop.CV_EnregistrerEcheance">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Sources/IHM/Desktop/CV_HomePage.xaml b/Sources/IHM/Desktop/CV_HomePage.xaml
index 709f8dd..e50939f 100644
--- a/Sources/IHM/Desktop/CV_HomePage.xaml
+++ b/Sources/IHM/Desktop/CV_HomePage.xaml
@@ -2,22 +2,67 @@
-
+
+
-
+
+
-
+
diff --git a/Sources/IHM/Desktop/CV_HomePage.xaml.cs b/Sources/IHM/Desktop/CV_HomePage.xaml.cs
index 0b99a9f..9481e87 100644
--- a/Sources/IHM/Desktop/CV_HomePage.xaml.cs
+++ b/Sources/IHM/Desktop/CV_HomePage.xaml.cs
@@ -8,10 +8,9 @@ public partial class CV_HomePage : ContentView
public CV_HomePage()
{
InitializeComponent();
-
- Mgr.LoadBanque();
- Mgr.LoadCompte();
+
BindingContext = Mgr;
+ //Mgr.LoadBanques();
}
}
\ No newline at end of file
diff --git a/Sources/IHM/Desktop/CV_Log.xaml b/Sources/IHM/Desktop/CV_Log.xaml
index 71efb29..c838339 100644
--- a/Sources/IHM/Desktop/CV_Log.xaml
+++ b/Sources/IHM/Desktop/CV_Log.xaml
@@ -3,21 +3,48 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.CV_Log">
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Sources/IHM/Desktop/CV_Log.xaml.cs b/Sources/IHM/Desktop/CV_Log.xaml.cs
index 82ec39c..20a17c0 100644
--- a/Sources/IHM/Desktop/CV_Log.xaml.cs
+++ b/Sources/IHM/Desktop/CV_Log.xaml.cs
@@ -1,9 +1,14 @@
+using Model;
+
namespace IHM.Desktop;
public partial class CV_Log : ContentView
{
- public CV_Log()
+ public Manager Mgr => (App.Current as App).Manager;
+ public CV_Log()
{
InitializeComponent();
- }
+
+ BindingContext = Mgr.User;
+ }
}
\ No newline at end of file
diff --git a/Sources/IHM/Desktop/CV_Planification.xaml b/Sources/IHM/Desktop/CV_Planification.xaml
index b3a5415..67b74db 100644
--- a/Sources/IHM/Desktop/CV_Planification.xaml
+++ b/Sources/IHM/Desktop/CV_Planification.xaml
@@ -3,34 +3,38 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.CV_Planification">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/Sources/IHM/Desktop/CV_Planification.xaml.cs b/Sources/IHM/Desktop/CV_Planification.xaml.cs
index 3c99f22..43ee6a0 100644
--- a/Sources/IHM/Desktop/CV_Planification.xaml.cs
+++ b/Sources/IHM/Desktop/CV_Planification.xaml.cs
@@ -14,9 +14,9 @@ public partial class CV_Planification : ContentView
{
InitializeComponent();
- Mgr.LoadBanque();
+/* Mgr.LoadBanque();
Mgr.LoadCompte();
-
+*/
BindingContext = Mgr;
}
diff --git a/Sources/IHM/Desktop/CV_Statistiques.xaml b/Sources/IHM/Desktop/CV_Statistiques.xaml
index e23d72e..6fa721f 100644
--- a/Sources/IHM/Desktop/CV_Statistiques.xaml
+++ b/Sources/IHM/Desktop/CV_Statistiques.xaml
@@ -6,55 +6,59 @@
x:Class="IHM.Desktop.CV_Statistiques">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
-
-
-
+
+
+
+
+
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
-
-
+
-
+
@@ -139,6 +143,7 @@
-
+
+
diff --git a/Sources/IHM/Desktop/CV_SupprimerEcheance.xaml b/Sources/IHM/Desktop/CV_SupprimerEcheance.xaml
index fdf364e..dbe06a7 100644
--- a/Sources/IHM/Desktop/CV_SupprimerEcheance.xaml
+++ b/Sources/IHM/Desktop/CV_SupprimerEcheance.xaml
@@ -4,36 +4,40 @@
xmlns:inputs="clr-namespace:Syncfusion.Maui.Inputs;assembly=Syncfusion.Maui.Inputs"
x:Class="IHM.Desktop.CV_SupprimerEcheance">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/Sources/IHM/Desktop/CV_credit.xaml b/Sources/IHM/Desktop/CV_credit.xaml
index d481213..c222782 100644
--- a/Sources/IHM/Desktop/CV_credit.xaml
+++ b/Sources/IHM/Desktop/CV_credit.xaml
@@ -3,40 +3,41 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.CV_credit">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Sources/IHM/Desktop/CV_credit.xaml.cs b/Sources/IHM/Desktop/CV_credit.xaml.cs
index c683740..507cf84 100644
--- a/Sources/IHM/Desktop/CV_credit.xaml.cs
+++ b/Sources/IHM/Desktop/CV_credit.xaml.cs
@@ -7,13 +7,14 @@ public partial class CV_credit : ContentView
InitializeComponent();
}
- private void Button_Clicked(object sender, EventArgs e)
+ private async void Button_Annuler(object sender, EventArgs e)
{
-
+
}
- private void Button_Clicked_1(object sender, EventArgs e)
+ private void Button_Valider(object sender, EventArgs e)
{
}
+
}
\ No newline at end of file
diff --git a/Sources/IHM/Desktop/CV_debit.xaml b/Sources/IHM/Desktop/CV_debit.xaml
index 452ba8d..02bf869 100644
--- a/Sources/IHM/Desktop/CV_debit.xaml
+++ b/Sources/IHM/Desktop/CV_debit.xaml
@@ -3,40 +3,42 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.CV_debit">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Sources/IHM/Desktop/CV_modificationSolde.xaml b/Sources/IHM/Desktop/CV_modificationSolde.xaml
index 96ff8a1..8412d14 100644
--- a/Sources/IHM/Desktop/CV_modificationSolde.xaml
+++ b/Sources/IHM/Desktop/CV_modificationSolde.xaml
@@ -3,38 +3,39 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.CV_modificationSolde">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
-
diff --git a/Sources/IHM/Desktop/CV_retirer.xaml b/Sources/IHM/Desktop/CV_retirer.xaml
index 25c8988..4d3ebc1 100644
--- a/Sources/IHM/Desktop/CV_retirer.xaml
+++ b/Sources/IHM/Desktop/CV_retirer.xaml
@@ -4,37 +4,39 @@
xmlns:inputs="clr-namespace:Syncfusion.Maui.Inputs;assembly=Syncfusion.Maui.Inputs"
x:Class="IHM.Desktop.CV_retirer">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
-
-
-
+
+
+
+
diff --git a/Sources/IHM/Desktop/CV_supprimerOp.xaml b/Sources/IHM/Desktop/CV_supprimerOp.xaml
index 9d61df9..d89a990 100644
--- a/Sources/IHM/Desktop/CV_supprimerOp.xaml
+++ b/Sources/IHM/Desktop/CV_supprimerOp.xaml
@@ -3,34 +3,36 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:inputs="clr-namespace:Syncfusion.Maui.Inputs;assembly=Syncfusion.Maui.Inputs"
x:Class="IHM.Desktop.CV_supprimerOp">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
-
-
+
-
+
+
+
+
+
+
diff --git a/Sources/IHM/Desktop/Compte.xaml b/Sources/IHM/Desktop/Compte.xaml
index 4b1c242..760e16e 100644
--- a/Sources/IHM/Desktop/Compte.xaml
+++ b/Sources/IHM/Desktop/Compte.xaml
@@ -3,64 +3,65 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Desktop.Compte">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
-
-
-
-
+
+
+
+
-
+
+
-
+
+
\ No newline at end of file
diff --git a/Sources/IHM/Desktop/DashBoard.xaml b/Sources/IHM/Desktop/DashBoard.xaml
index 27f0128..ae6342a 100644
--- a/Sources/IHM/Desktop/DashBoard.xaml
+++ b/Sources/IHM/Desktop/DashBoard.xaml
@@ -4,10 +4,10 @@
x:Class="IHM.Desktop.Dashboard"
Title="Dashboard">
-
-
+
+
-
+
@@ -23,42 +23,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
-
+
+
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Sources/IHM/Desktop/Dashboard.xaml.cs b/Sources/IHM/Desktop/Dashboard.xaml.cs
index c783b22..34b0ef6 100644
--- a/Sources/IHM/Desktop/Dashboard.xaml.cs
+++ b/Sources/IHM/Desktop/Dashboard.xaml.cs
@@ -1,15 +1,20 @@
using Microsoft.Maui.Graphics.Text;
+using Model;
namespace IHM.Desktop;
public partial class Dashboard
{
+ public Manager Mgr => (App.Current as App).Manager;
public Dashboard()
{
InitializeComponent();
- }
+ BindingContext = Mgr.User;
+ mainCV.Content = new CV_HomePage();
+
+ }
private void RetourFormeBase()
{
@@ -19,6 +24,7 @@ public partial class Dashboard
ButCom.BackgroundColor = Color.FromArgb("E1E1E1"); ButCom.TextColor = Colors.Black;
ButAcc.BackgroundColor = Color.FromArgb("E1E1E1"); ButAcc.TextColor = Colors.Black;
ButSta.BackgroundColor = Color.FromArgb("E1E1E1"); ButSta.TextColor = Colors.Black;
+
}
@@ -76,7 +82,7 @@ public partial class Dashboard
ButLog.TextColor = Colors.White;
ButLog.BackgroundColor = Color.FromArgb("7FB196");
mainCV.Content = new CV_Log();
-
+
}
}
\ No newline at end of file
diff --git a/Sources/IHM/Desktop/Echeancier.xaml b/Sources/IHM/Desktop/Echeancier.xaml
index 8e01e4f..1ec0f65 100644
--- a/Sources/IHM/Desktop/Echeancier.xaml
+++ b/Sources/IHM/Desktop/Echeancier.xaml
@@ -4,37 +4,41 @@
x:Class="IHM.Desktop.Echeancier"
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
+
-
+
+
+
+
+
+
+
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
-
+
@@ -109,45 +135,46 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Sources/IHM/Desktop/Echeancier.xaml.cs b/Sources/IHM/Desktop/Echeancier.xaml.cs
index 8d6ddc1..a38444f 100644
--- a/Sources/IHM/Desktop/Echeancier.xaml.cs
+++ b/Sources/IHM/Desktop/Echeancier.xaml.cs
@@ -9,8 +9,8 @@ public partial class Echeancier : ContentView
{
InitializeComponent();
- Mgr.LoadBanque();
- Mgr.LoadCompte();
+ /* Mgr.LoadBanque();
+ Mgr.LoadCompte();*/
BindingContext = Mgr;
diff --git a/Sources/IHM/Desktop/MainPage.xaml b/Sources/IHM/Desktop/MainPage.xaml
index 26591d4..1044145 100644
--- a/Sources/IHM/Desktop/MainPage.xaml
+++ b/Sources/IHM/Desktop/MainPage.xaml
@@ -2,7 +2,8 @@
+ Title="MainPage_Windows"
+ >
diff --git a/Sources/IHM/Desktop/MainPage.xaml.cs b/Sources/IHM/Desktop/MainPage.xaml.cs
index 060b134..9617a37 100644
--- a/Sources/IHM/Desktop/MainPage.xaml.cs
+++ b/Sources/IHM/Desktop/MainPage.xaml.cs
@@ -26,7 +26,7 @@ public partial class MainPage : ContentPage
{
Mgr.createUser(EntryMail.Text);
- Navigation.PushAsync(new Dashboard());
+ await Navigation.PushAsync(new Dashboard());
}
else
{
diff --git a/Sources/IHM/Desktop/Operations.xaml b/Sources/IHM/Desktop/Operations.xaml
index a018407..f1ee33f 100644
--- a/Sources/IHM/Desktop/Operations.xaml
+++ b/Sources/IHM/Desktop/Operations.xaml
@@ -2,54 +2,57 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
+
+
+
-
+
+
\ No newline at end of file
diff --git a/Sources/IHM/Desktop/Operations.xaml.cs b/Sources/IHM/Desktop/Operations.xaml.cs
index 2b9e67f..7ff27f5 100644
--- a/Sources/IHM/Desktop/Operations.xaml.cs
+++ b/Sources/IHM/Desktop/Operations.xaml.cs
@@ -5,17 +5,27 @@ namespace IHM.Desktop;
public partial class Operations : ContentView
{
-
+ List operations;
public Manager Mgr => (App.Current as App).Manager;
public Operations()
{
InitializeComponent();
-
- Mgr.LoadBanque();
- Mgr.LoadCompte();
-
- BindingContext = Mgr;
+ operations = new List();
+ operations.Add(new("op", 33.44, DateTime.Now, MethodePayement.CB, TagOperation.Divers, false));
+ operations.Add(new("course", 45.20, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
+ operations.Add(new("Orange", 50, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
+ operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
+ operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
+ operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Carburant, true));
+
+ BindingContext = operations;
+ /*
+
+ Mgr.LoadBanque();
+ Mgr.LoadCompte();*/
+/*
+ BindingContext = Mgr;*/
}
private void AddCredit_Clicked(object sender, EventArgs e)
diff --git a/Sources/IHM/Resources/Styles/Styles.xaml b/Sources/IHM/Resources/Styles/Styles.xaml
index 06b1a1f..5cc4be6 100644
--- a/Sources/IHM/Resources/Styles/Styles.xaml
+++ b/Sources/IHM/Resources/Styles/Styles.xaml
@@ -403,7 +403,7 @@
-
+