Esempio n. 1
0
 private void ColorWheelControl_ColorSelected(
     object sender,
     ColorWheel.Controls.EventArg <int> e
     )
 {
     m_selectedColor = e.Value;
     UpdateSelectedColor();
 }
Esempio n. 2
0
 private void BrightnessSaturationControl_SelectColored(
     object sender,
     ColorWheel.Controls.EventArg <int> e
     )
 {
     m_selectedColor = e.Value;
     UpdateSelectedColor();
 }
Esempio n. 3
0
        private void wheel_ColorSelected(object sender, ColorWheel.Controls.EventArg <int> e)
        {
            var b = wheel.Palette.Colors[0];
            var c = b.RgbColor;
            var d = b.Brightness255;

            MainData.color             = b;
            slider.SliderColor         = c;
            slider.Value               = d;
            MainData.Me.da.Color       = c;
            MainData.isColorNeedUpdate = true;
        }