示例#1
0
 protected void OnColorChanged(DRColor.RGB RGB, DRColor.HSV HSV)
 {
     ColorChangedEventArgs e = new ColorChangedEventArgs(RGB, HSV);
     ColorChanged(this, e);
 }
示例#2
0
        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);
        }