private void MoveComputationInfoToForm()
        {
            textBoxDescription.Text = this.ComputationInfo.Description;
            textBoxFormat.Text      = this.ComputationInfo.Format;
            labelName.Text          = this.ComputationInfo.FieldName;
            int loc;

            if (Choices.Find(this.ComputationInfo.CalculationName, out loc) != null)
            {
                listBox1.SelectedIndex = loc;
            }
        }
        private float GetScoreMod()
        {
            float scoreMod  = 1f;
            int   wDelayIdx = Choices.Find(c => c.Name == "waveDelay").SelectedValueIdx;

            switch (wDelayIdx)
            {
            case 0:
                scoreMod += 0.4f;
                break;

            case 1:
                scoreMod += 0.2f;
                break;

            case 2:
                // Do nothing
                break;

            case 3:
                scoreMod -= 0.2f;
                break;

            case 4:
                scoreMod -= 0.4f;
                break;

            default:
                throw new CaseStatementMissingException();
            }

            ePlaneType planeType = (ePlaneType)GetChoiceByName("playerShip").SelectedValueIdx;

            switch (planeType)
            {
            case ePlaneType.Normal:
                // Do nothing
                scoreMod += 0.05f;
                break;

            case ePlaneType.Dmg:
                scoreMod -= 0.1f;
                break;

            case ePlaneType.Regen:
                scoreMod -= 0.1f;
                break;

            case ePlaneType.Speed:
                scoreMod -= 0.05f;
                break;

            case ePlaneType.Tough:
                scoreMod -= 0.1f;
                break;

            default:
                throw new CaseStatementMissingException();
            }

            eDropRateMod dropRateMod = (eDropRateMod)Enum.Parse(typeof(eDropRateMod), GetChoiceValue("dropRate"));

            switch (dropRateMod)
            {
            case eDropRateMod.None:
                scoreMod += 0.4f;
                break;

            case eDropRateMod.Low:
                scoreMod += 0.2f;
                break;

            case eDropRateMod.Normal:
                // Do nothing
                break;

            case eDropRateMod.High:
                scoreMod -= 0.2f;
                break;

            default:
                throw new CaseStatementMissingException();
            }

            if (scoreMod < 0.1f)
            {
                scoreMod = 0.1f;
            }

            return(scoreMod);
        }