Example #1
0
        protected void OnColorChanged(ColorHandler.RGB RGB, ColorHandler.HSV HSV)
        {
            ColorChangedEventArgs e = new ColorChangedEventArgs(RGB, HSV);

            ColorChanged(this, e);
        }
		private void myColorWheel_ColorChanged(object sender,  ColorChangedEventArgs e)  
		{
			SetRGB(e.RGB);
			SetHSV(e.HSV);

            if (this.blink1.IsConnected)
            {
                this.blink1.SetColor((ushort)e.RGB.Red, (ushort)e.RGB.Green, (ushort)e.RGB.Blue);
            }
		}
Example #3
0
 protected void OnColorChanged(ColorHandler.RGB RGB, ColorHandler.HSV HSV)
 {
     ColorChangedEventArgs e = new ColorChangedEventArgs(RGB, HSV);
     ColorChanged(this, e);
 }