From 9e18199167665cdbe165deb6e27b50eb29493d46 Mon Sep 17 00:00:00 2001 From: Guillaume REY Date: Wed, 24 May 2023 09:08:07 +0200 Subject: [PATCH] =?UTF-8?q?factorisation=20du=20code=20avec=20ancien=20men?= =?UTF-8?q?u=20=20fonctionnel=20->=20reste=20a=20changer=20l'affichage=20d?= =?UTF-8?q?u=20bouton=20en=20fonction=20de=20la=20page=20o=C3=B9=20l'on=20?= =?UTF-8?q?se=20situe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Ohara/AppShell.xaml | 2 +- Sources/Ohara/MainPage.xaml | 31 +-- Sources/Ohara/MainPage.xaml.cs | 62 +----- Sources/Ohara/Ohara.csproj | 6 + Sources/Ohara/PageBateau.xaml | 23 +-- Sources/Ohara/PageBateau.xaml.cs | 57 +----- Sources/Ohara/PageBestiaire.xaml | 17 +- Sources/Ohara/PageBestiaire.xaml.cs | 53 +----- Sources/Ohara/PageCarte.xaml | 22 +-- Sources/Ohara/PageCarte.xaml.cs | 53 +----- Sources/Ohara/PageEquipage.xaml | 18 +- Sources/Ohara/PageEquipage.xaml.cs | 59 +----- Sources/Ohara/PageFDD.xaml | 20 +- Sources/Ohara/PageFDD.xaml.cs | 48 +---- Sources/Ohara/PageIle.xaml | 22 +-- Sources/Ohara/PageIle.xaml.cs | 49 +---- Sources/Ohara/PageInfoBateau.xaml | 228 +++++++++++------------ Sources/Ohara/PageInfoBateau.xaml.cs | 36 ---- Sources/Ohara/PageInfoBestiaire.xaml | 22 +-- Sources/Ohara/PageInfoBestiaire.xaml.cs | 35 ---- Sources/Ohara/PageInfoEquipage.xaml | 22 +-- Sources/Ohara/PageInfoEquipage.xaml.cs | 37 +--- Sources/Ohara/PageInfoFdd.xaml | 22 +-- Sources/Ohara/PageInfoFdd.xaml.cs | 37 +--- Sources/Ohara/PageInfoIle.xaml | 22 +-- Sources/Ohara/PageInfoIle.xaml.cs | 37 +--- Sources/Ohara/PageInfoPersonnage.xaml | 22 +-- Sources/Ohara/PageInfoPersonnage.xaml.cs | 37 +--- Sources/Ohara/PagePersonnage.xaml | 21 +-- Sources/Ohara/PagePersonnage.xaml.cs | 52 +----- Sources/Ohara/menuBoutons.xaml | 26 +++ Sources/Ohara/menuBoutons.xaml.cs | 78 ++++++++ 32 files changed, 290 insertions(+), 986 deletions(-) create mode 100644 Sources/Ohara/menuBoutons.xaml create mode 100644 Sources/Ohara/menuBoutons.xaml.cs diff --git a/Sources/Ohara/AppShell.xaml b/Sources/Ohara/AppShell.xaml index b3588da..ee7e3c1 100644 --- a/Sources/Ohara/AppShell.xaml +++ b/Sources/Ohara/AppShell.xaml @@ -4,7 +4,7 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Ohara" - Shell.FlyoutBehavior="Disabled" + Shell.FlyoutBehavior="Flyout" Shell.NavBarIsVisible="False"> diff --git a/Sources/Ohara/MainPage.xaml b/Sources/Ohara/MainPage.xaml index ddfd08d..4101d0e 100644 --- a/Sources/Ohara/MainPage.xaml +++ b/Sources/Ohara/MainPage.xaml @@ -1,6 +1,7 @@  @@ -15,24 +16,12 @@ - - - - - - - - - -