From 57bd1ac5a205f7b27c79bac9d88be96143c4930d Mon Sep 17 00:00:00 2001 From: Cedric CHARBONNEL Date: Sat, 10 Jun 2023 21:44:36 +0200 Subject: [PATCH] Ajout suppression Jeu et autres --- .../Views/Composants/BoutonVoir.xaml.cs | 1 - .../GameAtlas/Views/PageAccueil.xaml | 4 +-- .../GameAtlas/GameAtlas/Views/PageAdmin.xaml | 6 ++-- .../GameAtlas/Views/PageAdmin.xaml.cs | 35 +++++++++++++++++-- .../GameAtlas/Views/PageInscription.xaml | 4 ++- .../GameAtlas/Views/PageInscription.xaml.cs | 17 +++++++-- .../GameAtlas/GameAtlas/Views/PageJeu.xaml | 2 +- .../GameAtlas/Views/PageParcourir.xaml | 2 -- .../GameAtlas/GameAtlas/Views/PageProfil.xaml | 2 +- Sources/GameAtlas/Models/Utilisateur.cs | 7 ++++ Sources/GameAtlas/Stub/Stub.cs | 9 +++++ 11 files changed, 73 insertions(+), 16 deletions(-) diff --git a/Sources/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml.cs b/Sources/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml.cs index 3d2f62a..31144fb 100644 --- a/Sources/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml.cs +++ b/Sources/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml.cs @@ -14,7 +14,6 @@ public partial class BoutonVoir : ContentView var selectedjeu = (sender as Button)?.BindingContext as Jeu; if (selectedjeu != null) { - //await Shell.Current.GoToAsync(nameof(PageJeu(selectedjeu)); ---- Ne marche pas ---- await Navigation.PushAsync(new PageJeu(selectedjeu)); } } diff --git a/Sources/GameAtlas/GameAtlas/Views/PageAccueil.xaml b/Sources/GameAtlas/GameAtlas/Views/PageAccueil.xaml index ca35a56..0005956 100644 --- a/Sources/GameAtlas/GameAtlas/Views/PageAccueil.xaml +++ b/Sources/GameAtlas/GameAtlas/Views/PageAccueil.xaml @@ -35,7 +35,7 @@ - +