(Ajout du CS)
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
3b4bc8a4cd
commit
c5105406ad
@ -0,0 +1,32 @@
|
|||||||
|
using GameAtlas.Models;
|
||||||
|
|
||||||
|
|
||||||
|
namespace GameAtlas.Views;
|
||||||
|
|
||||||
|
|
||||||
|
public partial class PageAcceuil : ContentPage
|
||||||
|
{
|
||||||
|
public Manager AccueilManager => (App.Current as App).MyManager;
|
||||||
|
|
||||||
|
public PageAcceuil()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
BindingContext = AccueilManager;
|
||||||
|
}
|
||||||
|
|
||||||
|
private async void OnProfil_Tapped(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
await Navigation.PushAsync(new PageProfil());
|
||||||
|
}
|
||||||
|
|
||||||
|
private async void OnButtonClicked(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var selectedjeu = (sender as ImageButton)?.BindingContext as Jeu;
|
||||||
|
if (selectedjeu != null)
|
||||||
|
{
|
||||||
|
await Navigation.PushAsync(new PageJeu(selectedjeu));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in new issue