private void OnOpacitySliderChanged(object sender, EventArgs e) { opacitySpinner.Value = opacitySlider.Value; UpdateOpacity (); }