public void ExecuteResumeGame(object nothing) { DataResource.SaveEntries(); App.Current.MainPage.Navigation.PushAsync(new GamePlay(NavigationMessage.GetData <Game> ("ActiveGame"))); }
protected override void OnDisappearing() { base.OnDisappearing(); NavigationMessage.PutData("ViewScoresheet", 0); }
protected override void OnAppearing() { base.OnAppearing(); ((DataResourceAccess)this.BindingContext).GameInProgress = (NavigationMessage.GetData <bool> ("GameInProgress") == true); }
protected override void OnDisappearing() { base.OnDisappearing(); NavigationMessage.PutData("ActiveGame", this.BindingContext); }
public async void ExecuteReset(object nothing) { NavigationMessage.PutData("ActiveGame", this); Page page = await App.Current.MainPage.Navigation.PopAsync(); }
public void ExecuteScoresheet(object nothing) { NavigationMessage.PutData("ActiveGame", this); App.Current.MainPage.Navigation.PushAsync(new Scoresheet()); }
public void SetGameInProgress() { NavigationMessage.PutData <bool> ("GameInProgress", true); }