protected void ChangeCurve(double new_value, CurveChanger changer)
        {
            if (!_CurveIsChanging)
            {
                _CurveIsChanging = true;
                StartChangingParameters();

                // Setting all editors to the value
                if (changer != CurveChanger.HScale)
                {
                    curve_hscale.Value = new_value;
                }

                if (changer != CurveChanger.SpinButton)
                {
                    curve_spinbutton.Value = new_value;
                }

                ((CompressSharpStageOperationParameters)Parameters).Curve = new_value;
                EndChangingParameters();
                OnUserModified();
                _CurveIsChanging = false;
            }
        }
        protected void ChangeCurve(double new_value, CurveChanger changer)
        {
            if (!_CurveIsChanging)
            {
                _CurveIsChanging = true;
                StartChangingParameters();

                // Setting all editors to the value
                if (changer != CurveChanger.HScale)
                    curve_hscale.Value = new_value;

                if (changer != CurveChanger.SpinButton)
                    curve_spinbutton.Value = new_value;

                ((CompressSharpStageOperationParameters)Parameters).Curve = new_value;
                EndChangingParameters();
                OnUserModified();
                _CurveIsChanging = false;
            }
        }