Exemple #1
0
        private async void handleSetup()
        {
            this.disableAllCases();

            var settingDialog = new StartSettingDialog();
            await settingDialog.ShowAsync();

            this.manager.SetSettings(settingDialog.SelectedGameType, settingDialog.SelectedRound);

            this.manager.PopulateBriefcases();
            this.setDollarLabelAmounts();
            this.manager.SetRounds();

            this.roundLabel.Text       = OutputFormatter.FormatWelcomeMessage(settingDialog.SelectedGameType);
            this.casesToOpenLabel.Text = "Please select your case.";

            this.enableAllCases();
        }