I know how to change the color, but when I close the program the change is not saved. I would like the change to be seen when the program opens again. The code he used was this:
private void btnA100_Click(object sender, EventArgs e)
{
this.Controls.OfType<Button>().ToList().ForEach(x => x.BackColor = Color.DodgerBlue);
((Button)sender).BackColor = Color.LightSlateGray;
txtNHabit.Text = "A100";
}