private void ColorCalibrationTrackBar_ValueChanged(object sender, EventArgs e) { var additiveConstant = ColorCalibrationTrackBar.Value / 100d; UserParameters.ChangePrototype(x => x.ColorCalibrationAdditiveConstant = additiveConstant); }
private void VizualizationChoiceComboBox_SelectedIndexChanged(object sender, EventArgs e) { var chosenType = ((VisualisationType)VizualizationChoiceComboBox.SelectedIndex); UserParameters.ChangePrototype(x => x.VisualisationType = chosenType); }