Example #1
0
        private async void handleGameEnd(int caseValue)
        {
            this.summaryOutput.Text = OutputFormatter.BuildFinalRoundEndGameOutput(caseValue);

            var result = await showGameEndContentDialog();

            if (result == ContentDialogResult.Primary)
            {
                restart();
            }
            else
            {
                closeGame();
            }
        }