private void RunSetup(bool cantTakeNoForAnAnswer)
        {
            IsSettingUp = true;

            MatchSetupWindow window = new MatchSetupWindow(Frc, Record != null ? Record.MatchNumber : 0,
                                                           cantTakeNoForAnAnswer);
            bool?result = window.ShowDialog();

            if (cantTakeNoForAnAnswer && result == false)
            {
                Application.Current.Shutdown();
            }
            else if (result == true)             // nullable bool
            {
                LoadMatchSettings settings = window.Settings;

                Record = settings.MakeRecord();
                GoalsList.Items.Clear();
                PregameMatch = settings.GetMatch();
                Color        = AllianceColor.Red;

                TeamLineup = TeamDataContext.CreateDataList(PregameMatch);
                TeamsDropDown.Items.Clear();
                foreach (TeamDataContext tdc in TeamLineup)
                {
                    TeamsDropDown.Items.Add(tdc);
                }
                TeamsDropDown.SelectedIndex = 0;

                TimeBtn.IsEnabled = true;
            }

            IsSettingUp = false;
        }
		private void RunSetup(bool cantTakeNoForAnAnswer)
		{
			IsSettingUp = true;

			MatchSetupWindow window = new MatchSetupWindow(Frc, Record != null ? Record.MatchNumber : 0,
				cantTakeNoForAnAnswer);
			bool? result = window.ShowDialog();

			if (cantTakeNoForAnAnswer && result == false)
			{
				Application.Current.Shutdown();
			}
			else if (result == true) // nullable bool
			{
				LoadMatchSettings settings = window.Settings;

				Record = settings.MakeRecord();
				GoalsList.Items.Clear();
				PregameMatch = settings.GetMatch();
				Color = AllianceColor.Red;

				TeamLineup = TeamDataContext.CreateDataList(PregameMatch);
				TeamsDropDown.Items.Clear();
				foreach (TeamDataContext tdc in TeamLineup)
				{
					TeamsDropDown.Items.Add(tdc);
				}
				TeamsDropDown.SelectedIndex = 0;

				TimeBtn.IsEnabled = true;
			}

			IsSettingUp = false;
		}