From 0c0ef2118b3fcc2f9d302da5f399ea445ca6b40e Mon Sep 17 00:00:00 2001 From: luevard Date: Mon, 14 Nov 2022 16:50:20 +0100 Subject: [PATCH 01/18] =?UTF-8?q?Bug=20retour=20lors=20de=20la=20d=C3=A9co?= =?UTF-8?q?nnexion=20r=C3=A9solu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/IHM/MainPage.xaml.cs | 6 +++++- Sources/IHM/Settings.xaml.cs | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Sources/IHM/MainPage.xaml.cs b/Sources/IHM/MainPage.xaml.cs index 9aae00c..7056a7a 100644 --- a/Sources/IHM/MainPage.xaml.cs +++ b/Sources/IHM/MainPage.xaml.cs @@ -50,7 +50,11 @@ namespace IHM { await DisplayAlert(s, s1, s2); } - + protected override bool OnBackButtonPressed() + { + return true; + } + public ICommand TapCommand => new Command(async (page) => await Shell.Current.GoToAsync(page)); } } \ No newline at end of file diff --git a/Sources/IHM/Settings.xaml.cs b/Sources/IHM/Settings.xaml.cs index 52f390b..4227d77 100644 --- a/Sources/IHM/Settings.xaml.cs +++ b/Sources/IHM/Settings.xaml.cs @@ -1,5 +1,8 @@ namespace IHM; + using Model; +using System.Diagnostics; + public partial class Settings : ContentPage { public Manager Mgr => (App.Current as App).Manager; @@ -14,6 +17,9 @@ public partial class Settings : ContentPage } private async void NavigateTo() { + OnBackButtonPressed(); + Debug.WriteLine(base.OnBackButtonPressed()); await Navigation.PushModalAsync(new MainPage()); } + } \ No newline at end of file From eeb0e5b4e22b207f4452887949ed240cb9d26f77 Mon Sep 17 00:00:00 2001 From: luevard Date: Mon, 14 Nov 2022 21:34:55 +0100 Subject: [PATCH 02/18] push de branche et ajout bouton selection de banque --- Sources/IHM/Dashboard.xaml | 30 ++++++++++++++++++++++++++++++ Sources/IHM/Dashboard.xaml.cs | 24 +++++++++++++++++++++++- Sources/IHM/GestionBanque.xaml | 14 ++++++++++++++ Sources/IHM/GestionBanque.xaml.cs | 9 +++++++++ Sources/IHM/IHM.csproj | 6 ++++++ Sources/IHM/Settings.xaml.cs | 2 -- 6 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 Sources/IHM/GestionBanque.xaml create mode 100644 Sources/IHM/GestionBanque.xaml.cs diff --git a/Sources/IHM/Dashboard.xaml b/Sources/IHM/Dashboard.xaml index 751ce20..404607f 100644 --- a/Sources/IHM/Dashboard.xaml +++ b/Sources/IHM/Dashboard.xaml @@ -7,5 +7,35 @@ Text="Dashboard" VerticalOptions="Center" HorizontalOptions="Center" /> +