public void TransfercurrentFirmwareToNewFirmware()
        {
            if (currentFirmwareHelper.GetFeatureValue(Feature) == null && NewFirmwareHelper.GetFeatureValue(Feature) != null)
            {
                MessageBox.Show(@"The feature " + Feature + @" is not available in the old Marlin Firmware." +
                                Environment.NewLine +
                                @"This might be a new feature." + Environment.NewLine +
                                @"Read the documentation and set this value manually.", @"New feature",
                                MessageBoxButtons.OK, MessageBoxIcon.Information);
                return;
            }

            DialogResult result = MessageBox.Show(@"Do you want to transfer value from Current Firmware to the New Firmware?",
                                                  @"Transfer value", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2);

            if (result == DialogResult.Yes)
            {
                bool oldChecked;
                try
                {
                    oldChecked = Convert.ToBoolean(currentFirmwareHelper.GetEnabledFeature(Feature));
                }
                catch (Exception e)
                {
                    oldChecked = false;
                }
                NewFirmwareHelper.SetEnableValue(Feature, oldChecked, currentFirmwareHelper.GetFeatureValue(Feature));
                UpdateStatus();
            }
        }
 public void DataChanged()
 {
     NewFirmwareHelper.SetEnableValue(Feature, chkBxProperty.Checked, txtBxValue.Text);
     UpdateStatus();
     ToolTip();
 }