You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
using System;
|
|
|
|
using Xamarin.Forms;
|
|
using Xamarin.Forms.Xaml;
|
|
|
|
namespace OrderStacks.view
|
|
{
|
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
|
public partial class SecondePageRules : ContentPage
|
|
{
|
|
public SecondePageRules()
|
|
{
|
|
InitializeComponent();
|
|
NavigationPage.SetHasNavigationBar(this, false);
|
|
}
|
|
|
|
/**
|
|
* Bouton maison qui permet de se rendre sur la page d'accueil *
|
|
**/
|
|
private async void BackToHome(object sender, EventArgs args)
|
|
{
|
|
await Navigation.PushAsync(new HomePage());
|
|
}
|
|
/**
|
|
* Bouton jouer qui permet de se rendre sur la page GamePreparationPage *
|
|
**/
|
|
private async void ClickToPlay(object sender, EventArgs args)
|
|
{
|
|
await Navigation.PushAsync(new GamePreparationPage());
|
|
}
|
|
/**
|
|
* Bouton suivant qui permet de se rendre sur la troisième page des règles *
|
|
**/
|
|
private async void nextPage_Rules(object sender, EventArgs args)
|
|
{
|
|
await Navigation.PushAsync(new LastPage_Rules());
|
|
}
|
|
}
|
|
} |