private void sliderZoneColour_ValueChanged(object sender, EventArgs e) { var value = this.sliderZoneColour.Value / 10; if (graphicsProperties != null) { graphicsProperties.ChangeColor(value); } }
private void sliderColour_ValueChanged(object sender, EventArgs e) { if (invokeColorChange) { var value = (int)(this.sliderColour.Value / 10f); if (graphicsProperties != null) { graphicsProperties.ChangeColor(value); } } }
private void sliderColour_ValueChanged(object sender, EventArgs e) { if (invokeColorChange) { var value = this.sliderColour.Value / 10; if (graphicsProperties != null) { graphicsProperties.ChangeColor(value); this.pictureBox.Invalidate(); } } }