public CheckScore(TeamMatchStorage teamMatch, TeamDataStorage getData) { InitializeComponent(); teamData = getData; Title = "Field " + teamData.Field.ToString() + " Reviewing..."; currentTeamMatch = teamMatch; }
private void SubmitScores_Clicked(object sender, EventArgs e) { var TeamMatchScore = new TeamMatchStorage(); TeamMatchScore.BottleScores = BottleScores; TeamMatchScore.BallScores[0] = BallPoints[0] * 15; TeamMatchScore.BallScores[1] = BallPoints[1] * 18; TeamMatchScore.BallScores[2] = BallPoints[2] * -3; TeamMatchScore.BallScores[3] = BallPoints[3]; TeamMatchScore.GAMEScores[0] = GeneralPoints[0]; TeamMatchScore.GAMEScores[1] = GeneralPoints[1]; TeamMatchScore.Field = CurrentField; TeamMatchScore.FieldReset = GeneralPoints[2]; TeamMatchScore.TotalScore = TotalScore; Navigation.PushAsync(new CheckScore(TeamMatchScore, teamData)); }