Exemplo n.º 1
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            LColor lc = new LColor();

            //lc.Lab_L = Convert.ToDouble(textBoxLabL1.Text);
            //lc.Lab_a = Convert.ToDouble(textBoxLaba1.Text);
            //lc.Lab_b = Convert.ToDouble(textBoxLabb1.Text);
            //lc.CalculateLab2XYZ();
            lc.CalculateXYZ2RGB();
            textRGB_R.Text = lc.ARGB_R.ToString();
            textRGB_G.Text = lc.ARGB_G.ToString();
            textRGB_B.Text = lc.ARGB_B.ToString();
        }