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.
42 lines
1.1 KiB
42 lines
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using Xamarin.Forms;
|
|
|
|
namespace TheGameExtreme.view
|
|
{
|
|
public partial class GamePreparationPage : ContentPage
|
|
{
|
|
|
|
private string instructionText;
|
|
public string InstructionText
|
|
{
|
|
get { return instructionText; }
|
|
set
|
|
{
|
|
instructionText = value;
|
|
OnPropertyChanged("InstructionText");
|
|
}
|
|
}
|
|
|
|
|
|
public GamePreparationPage()
|
|
{
|
|
InitializeComponent();
|
|
NavigationPage.SetHasNavigationBar(this, false);
|
|
Instruction.SetBinding(Label.TextProperty, new Binding("InstructionText", source: this));
|
|
InstructionText = AppRessource.StrPlayerSelection;
|
|
}
|
|
|
|
private async void Back(object sender, EventArgs e)
|
|
{
|
|
await Navigation.PopToRootAsync();
|
|
}
|
|
|
|
private async void Play(object sender, EventArgs args)
|
|
{
|
|
await Navigation.PushAsync(new MainPage());
|
|
}
|
|
}
|
|
}
|