private void saveButton_Click(object sender, EventArgs e)
        {
            GeneralKeys generalKeys = new GeneralKeys();

            generalKeys.forward     = (UseableKeys)this.forwardComboBox.SelectedItem;
            generalKeys.backward    = (UseableKeys)this.backwardComboBox.SelectedItem;
            generalKeys.rotateLeft  = (UseableKeys)this.rotateLeftComboBox.SelectedItem;
            generalKeys.rotateRight = (UseableKeys)this.rotateRightComboBox.SelectedItem;
            generalKeys.action      = (UseableKeys)this.actionComboBox.SelectedItem;

            FishingKeys fishingKeys = new FishingKeys();

            fishingKeys.startFishing = (UseableKeys)this.startFishingCombobox.SelectedItem;
            fishingKeys.catchFish    = (UseableKeys)this.catchFishCombobox.SelectedItem;

            FishingConfig fishingConfig = new FishingConfig();

            fishingConfig.movement  = generalKeys;
            fishingConfig.fishing   = fishingKeys;
            fishingConfig.biteDelay = int.Parse(this.biteDelayTextbox.Text);

            this.configHolder.fishingConfig = fishingConfig;

            SaveConfigForm form = new SaveConfigForm(this.configHolder, this.saveConfigFormFinished);

            form.ShowDialog();
        }
        private void saveButton_Click(object sender, EventArgs e)
        {
            GeneralKeys generalKeys = new GeneralKeys();

            generalKeys.forward     = (UseableKeys)this.forwardComboBox.SelectedItem;
            generalKeys.backward    = (UseableKeys)this.backwardComboBox.SelectedItem;
            generalKeys.rotateLeft  = (UseableKeys)this.rotateLeftComboBox.SelectedItem;
            generalKeys.rotateRight = (UseableKeys)this.rotateRightComboBox.SelectedItem;
            generalKeys.action      = (UseableKeys)this.actionComboBox.SelectedItem;

            GatheringConfig gatheringConfig = new GatheringConfig();

            gatheringConfig.movement            = generalKeys;
            gatheringConfig.matureTree          = this.matureTreeBox.Checked? 1 : 0;
            gatheringConfig.lushVegetationPatch = this.lushVegetationPatchBox.Checked ? 1 : 0;
            gatheringConfig.mineralDeposit      = this.mineralDepositBox.Checked ? 1 : 0;
            gatheringConfig.rockyOutcrop        = this.rockyOutcropBox.Checked ? 1 : 0;

            this.configHolder.gatheringConfig = gatheringConfig;

            SaveConfigForm form = new SaveConfigForm(this.configHolder, this.saveConfigFormFinished);

            form.ShowDialog();
        }