Answers for "how to change the color of a textbox with button c#"

C#
0

how to change the color of a textbox with button c#

private void button1_Click(object sender, EventArgs e)
        {
        textBox1.BackColor = Color.Black;
        textBox1.ForeColor = Color.Red;
        }
Posted by: Guest on February-02-2021

Code answers related to "how to change the color of a textbox with button c#"

C# Answers by Framework

Browse Popular Code Answers by Language