From 6c573695f0daf8ae152c2d9201abf27285063006 Mon Sep 17 00:00:00 2001 From: relavergne Date: Mon, 8 May 2023 14:02:11 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20fonction=20OnGame=5FTapped,?= =?UTF-8?q?=20r=C3=A9agissant=20au=20clic=20sur=20un=20jeu=20et=20renvoyan?= =?UTF-8?q?t=20vers=20la=20PageJeu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GameAtlas/GameAtlas/Views/PageProfil.xaml.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GameAtlas/GameAtlas/Views/PageProfil.xaml.cs b/GameAtlas/GameAtlas/Views/PageProfil.xaml.cs index e4febd1..8dd1ce5 100644 --- a/GameAtlas/GameAtlas/Views/PageProfil.xaml.cs +++ b/GameAtlas/GameAtlas/Views/PageProfil.xaml.cs @@ -6,4 +6,9 @@ public partial class PageProfil : ContentPage { InitializeComponent(); } + + async void OnGame_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e) + { + await Shell.Current.GoToAsync(nameof(DetailPage)); + } } \ No newline at end of file