using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace OrderStacks.view { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class RulesGame : ContentPage { public RulesGame() { InitializeComponent(); NavigationPage.SetHasNavigationBar(this, false); } private async void BackToHome(object sender, EventArgs args) { await Navigation.PushAsync(new HomePage()); } private async void ClickToPlay(object sender, EventArgs args) { await Navigation.PushAsync(new GamePreparationPage()); } private async void nextPage_Rules(object sender, EventArgs args) { await Navigation.PushAsync(new SecondePageRules()); } } }