Answers for "cant change text color of a button on click in c#"

C#
0

change the button color on click

button:active{
  background-color:green;
}
Posted by: Guest on August-16-2021
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 "cant change text color of a button on click in c#"

C# Answers by Framework

Browse Popular Code Answers by Language