From 12f7ebad49e528c03199767058b68a523cae08e5 Mon Sep 17 00:00:00 2001 From: hulivet1 Date: Thu, 19 Jan 2023 18:04:00 +0100 Subject: [PATCH] Binding Mobile --- Sources/IHM/Mobile/AjoutBanques.xaml.cs | 2 +- Sources/IHM/Mobile/Dashboard.xaml | 58 ++++++++++--------- Sources/IHM/Mobile/Dashboard.xaml.cs | 19 +++---- Sources/IHM/Mobile/GestionBanques.xaml | 12 ++-- Sources/IHM/Mobile/GestionBanques.xaml.cs | 2 +- Sources/IHM/Mobile/MainPage.xaml.cs | 2 +- Sources/IHM/Mobile/Operations.xaml | 9 +-- Sources/IHM/Mobile/Operations.xaml.cs | 33 ++--------- Sources/IHM/Mobile/Planification.xaml | 9 +-- Sources/IHM/Mobile/Planification.xaml.cs | 16 +----- Sources/Modele/BanqueInscrit.cs | 17 ++++-- Sources/Modele/Compte.cs | 16 +++++- Sources/Modele/Manager.cs | 68 +++++++++++++++++------ 13 files changed, 142 insertions(+), 121 deletions(-) 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..1bc9b00 100644 --- a/Sources/IHM/Mobile/Dashboard.xaml +++ b/Sources/IHM/Mobile/Dashboard.xaml @@ -6,8 +6,9 @@ - - + + + @@ -38,19 +39,23 @@ Clicked="Banques_Clicked"/> + + + + +