private void RaisingColorChanged()
        {
            // get color from plane
            Engine.Color.Cell c = t_colorPlane.GetPixel((int)t_cursorLocation.X, (int)t_cursorLocation.Y, Engine.Surface.PixelRetrievalOptions.ReturnEdgePixel);

            ColorChangedEventArgs ce = new ColorChangedEventArgs(c);

            OnColorChanged(ce);
        }
        private void Fader_ColorChanged(object sender, ColorChangedEventArgs e)
        {
            this.Plane.UpdatePlaneImage(e.NewColor);

            Engine.Color.Models.HSV hsv = Engine.Color.Models.HSV.FromRGB(new Engine.Color.Models.RGBdouble(e.NewColor));

            this.TxtH.Text = Engine.Calc.Math.Double_0_1_ToDegree(hsv.H).ToString();
            this.TxtS.Text = hsv.S.ToString();
            this.TxtV.Text = hsv.V.ToString();

            this.TxtR.Text = e.NewColor.Red.ToString();
            this.TxtG.Text = e.NewColor.Green.ToString();
            this.TxtB.Text = e.NewColor.Blue.ToString();
        }
 private void T_selectionGlass_ColorChanged(object sender, ColorChangedEventArgs e)
 {
     ColorChanged?.Invoke(this, e);
 }
 protected virtual void OnColorChanged(ColorChangedEventArgs e)
 {
     ColorChanged?.Invoke(this, e);
 }
 private void C_Plane_ColorChanged(object sender, ColorChangedEventArgs e)
 {
     C_RectSample.Fill = new SolidColorBrush(Color.FromArgb(Engine.ColorOpacity.Opaque, e.NewColor.Red, e.NewColor.Green, e.NewColor.Blue));
     Engine.Application.UISelectedValues.SelectedColor = e.NewColor;
 }