namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public void Chose()
{
this.BackColor = Color.White;
}
private void F03_Click(object sender, EventArgs e)
{
Chose();
}
}
}
I have a lot of buttons and when you click on any one it should change color. preferably through this
(it is not necessary that the button returns its color back to green when pressed again)
New contributor
user25665663 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2