private void numRGB_ValueChanged(object sender, EventArgs e) { if (_isManualChange == false) { _isManualChange = true; ColorEx.HSB col = new ColorEx.RGB(Red, Green, Blue).ToHSB(); _numHue.Value = (decimal)col.Hue; _numSaturation.Value = (decimal)col.Saturation; _numBrightness.Value = (decimal)col.Brightness; this.Invalidate(false); _isManualChange = false; } }