Ejemplo n.º 1
0
        /// <summary>
        /// Uses the selected colour.
        /// </summary>
        /// <param name="colourControl">The colour control.</param>
        /// <param name="goStraightToPaletteShader">if set to <c>true</c> [go straight to palette shader].</param>
        public static void UseSelectedColour(CircularPictureBox colourControl, bool goStraightToPaletteShader = false)
        {
            if (goStraightToPaletteShader)
            {
                PaletteColourCreator colourCreator = new PaletteColourCreator(colourControl.BackColor);

                colourCreator.Show();
            }
            else
            {
                ColourMixer mixer = new ColourMixer(colourControl.BackColor);

                mixer.Show();
            }
        }
Ejemplo n.º 2
0
        private void GenerateColourScheme(Color baseColour)
        {
            ColourMixer colourMixer = new ColourMixer(true, baseColour);

            colourMixer.Show();
        }
        private void kbtnColourMixer_Click(object sender, EventArgs e)
        {
            ColourMixer colourMixer = new ColourMixer(255, 255, 255, 255);

            colourMixer.Show();
        }
Ejemplo n.º 4
0
        private void kbtnGenerate_Click(object sender, EventArgs e)
        {
            ColourMixer colourMixer = new ColourMixer();

            colourMixer.Show();
        }