change color of text box with button c# code example
Example: 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;
}