Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

visual studio c# color dialog

    private void textBox1_Enter(object sender, EventArgs e)
    {
        if (colorDialog1.ShowDialog() == DialogResult.OK)
        {
            textBox1.BackColor = colorDialog1.Color;
        }
    }
 
PREVIOUS NEXT
Tagged: #visual #studio #color #dialog
ADD COMMENT
Topic
Name
7+9 =