private void button1_Click(object sender, EventArgs e) { button1.BackColor = Color.LightGreen; button2.BackColor = Color.LightCoral; } private void button2_Click(object sender, EventArgs e) { button2.BackColor = Color.LightGreen; button1.BackColor = Color.LightCoral; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)