diff --git a/Sources/IHM/Desktop/CV_HomePage.xaml b/Sources/IHM/Desktop/CV_HomePage.xaml
index 163e229..1c4325e 100644
--- a/Sources/IHM/Desktop/CV_HomePage.xaml
+++ b/Sources/IHM/Desktop/CV_HomePage.xaml
@@ -7,11 +7,15 @@
+
+
+
+
-
-
-
-
+
+
+
+
@@ -28,10 +32,28 @@
Style="{StaticResource TitreWindows}"
/>
+
+
+
+
-
-
-
+
+
+
@@ -43,10 +65,11 @@
-
+ VerticalOptions="Center"
+ TextColor="Black"/>
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Sources/IHM/Desktop/CV_HomePage.xaml.cs b/Sources/IHM/Desktop/CV_HomePage.xaml.cs
index 4dfd0af..247c51d 100644
--- a/Sources/IHM/Desktop/CV_HomePage.xaml.cs
+++ b/Sources/IHM/Desktop/CV_HomePage.xaml.cs
@@ -11,10 +11,20 @@ public partial class CV_HomePage : ContentView
Mgr.LoadBanque();
Mgr.LoadCompte();
-
+ Mgr.LoadBanqueDispo();
BindingContext = Mgr;
+ }
+
+ private void ImportOFX_Clicked(object sender, EventArgs e)
+ {
+
+ }
+
+ private void AddBanque_Clicked(object sender, EventArgs e)
+ {
+
}
}
\ No newline at end of file
diff --git a/Sources/IHM/Desktop/MainPage.xaml.cs b/Sources/IHM/Desktop/MainPage.xaml.cs
index 9617a37..474564f 100644
--- a/Sources/IHM/Desktop/MainPage.xaml.cs
+++ b/Sources/IHM/Desktop/MainPage.xaml.cs
@@ -27,6 +27,7 @@ public partial class MainPage : ContentPage
Mgr.createUser(EntryMail.Text);
await Navigation.PushAsync(new Dashboard());
+ //Mgr.LoadAll();
}
else
{
diff --git a/Sources/IHM/Mobile/AjoutBanques.xaml.cs b/Sources/IHM/Mobile/AjoutBanques.xaml.cs
index 8e082b3..6d3991c 100644
--- a/Sources/IHM/Mobile/AjoutBanques.xaml.cs
+++ b/Sources/IHM/Mobile/AjoutBanques.xaml.cs
@@ -11,7 +11,7 @@ public partial class AjoutBanques : ContentPage
{
InitializeComponent();
BindingContext = Mgr;
- //Mgr.LoadBanques();
+ Mgr.LoadBanqueDispo();
if (OperatingSystem.IsIOS())
{
boutonRetour.IsVisible = true;
diff --git a/Sources/IHM/Mobile/Dashboard.xaml b/Sources/IHM/Mobile/Dashboard.xaml
index 8e56b4f..326ec1c 100644
--- a/Sources/IHM/Mobile/Dashboard.xaml
+++ b/Sources/IHM/Mobile/Dashboard.xaml
@@ -6,8 +6,9 @@
-
-
+
+
+
@@ -38,19 +39,25 @@
Clicked="Banques_Clicked"/>
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
-
+
@@ -66,19 +73,20 @@
Source="{Binding ImageSrc}"
CornerRadius="10"/>-->
+ Text="{Binding Nom}"
+ FontAttributes="Bold"
+ FontSize="Body"
+ Margin="50,0,0,0"/>
+ Text="{Binding Tag}"
+ Margin="50,0,0,0"
+ FontAttributes="Italic"/>
+ Text="{Binding DateOperation}"/>
+ Text="{Binding Montant}"
+ FontAttributes="Bold"
+ TextColor="OrangeRed"/>
@@ -90,10 +98,10 @@
-
+
-
-
+
+
@@ -102,7 +110,7 @@
-
diff --git a/Sources/IHM/Mobile/Dashboard.xaml.cs b/Sources/IHM/Mobile/Dashboard.xaml.cs
index 0081973..4517864 100644
--- a/Sources/IHM/Mobile/Dashboard.xaml.cs
+++ b/Sources/IHM/Mobile/Dashboard.xaml.cs
@@ -7,12 +7,12 @@ public partial class DashBoard : ContentPage
{
public Manager Mgr => (App.Current as App).Manager;
- List operations;
+
public DashBoard()
{
InitializeComponent();
- //Routing.RegisterRoute(nameof(DashBoard), typeof(DashBoard));
- //
+ Mgr.LoadBanque();
+
BindingContext = Mgr;
if (Mgr.User == null)
@@ -21,20 +21,14 @@ public partial class DashBoard : ContentPage
}
- operations = new List();
- operations.Add(new("Internet", 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("Spotify", 33.44, DateTime.Now, MethodePayement.CB, TagOperation.Divers, false));
- operations.Add(new("Garage", 45.20, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
+
/*if (!Mgr.Pers.TestConnexion())
{
loadPage(new ErrorPage());
Debug.WriteLine("cc");
}*/
- DerniereOpe.ItemsSource = operations;
+
}
diff --git a/Sources/IHM/Mobile/GestionBanques.xaml b/Sources/IHM/Mobile/GestionBanques.xaml
index 196cd5c..40b4673 100644
--- a/Sources/IHM/Mobile/GestionBanques.xaml
+++ b/Sources/IHM/Mobile/GestionBanques.xaml
@@ -32,8 +32,7 @@
-
-
+
@@ -42,7 +41,7 @@
-
@@ -52,13 +51,12 @@
BackgroundColor="{StaticResource Primary}"/>
-
-
-
+
+
+
-
diff --git a/Sources/IHM/Mobile/GestionBanques.xaml.cs b/Sources/IHM/Mobile/GestionBanques.xaml.cs
index 04681a8..72f3b54 100644
--- a/Sources/IHM/Mobile/GestionBanques.xaml.cs
+++ b/Sources/IHM/Mobile/GestionBanques.xaml.cs
@@ -11,7 +11,7 @@ public partial class GestionBanques : ContentPage
{
InitializeComponent();
BindingContext= Mgr;
- //Mgr.LoadBanques();
+ Mgr.LoadBanque();
if (OperatingSystem.IsIOS())
{
boutonRetour.IsVisible = true;
diff --git a/Sources/IHM/Mobile/MainPage.xaml.cs b/Sources/IHM/Mobile/MainPage.xaml.cs
index c9aedb4..5718aab 100644
--- a/Sources/IHM/Mobile/MainPage.xaml.cs
+++ b/Sources/IHM/Mobile/MainPage.xaml.cs
@@ -28,7 +28,8 @@ namespace IHM.Mobile
Mgr.createUser(EntryMail.Text);
await Navigation.PopModalAsync();
- //Mgr.LoadBanques();
+ Mgr.LoadAll();
+
}
else
{
diff --git a/Sources/IHM/Mobile/Operations.xaml b/Sources/IHM/Mobile/Operations.xaml
index 120a58a..03bd070 100644
--- a/Sources/IHM/Mobile/Operations.xaml
+++ b/Sources/IHM/Mobile/Operations.xaml
@@ -5,7 +5,7 @@
-
+
@@ -25,13 +25,14 @@
Source="{Binding ImageSrc}"
CornerRadius="10"/>-->
+ Text="{Binding Tag}"
+ FontAttributes="Italic"
+ Margin="50,0,0,0"/>