protected void OnColorChanged(DRColor.RGB RGB, DRColor.HSV HSV) { ColorChangedEventArgs e = new ColorChangedEventArgs(RGB, HSV); ColorChanged(this, e); }
protected void OnColorChanged(DRColor.RGB RGB, DRColor.HSV HSV) { ColorChangedEventArgs e = new ColorChangedEventArgs(RGB, HSV); ColorChanged(this, e); }
private void colorWheel_Changed(object sender, ColorChangedEventArgs e) { if(e.RGB == null || e.HSV == null) { return; } SetRGB(e.RGB); SetHSV(e.HSV); RainbowUtils.fillBoth(e.RGB); }