Posted on 2006-11-24
I have enter a test value for color.
this is what I did.
this.BackColor = Properties.Settings.Default.myColor;
private void button1_Click(object sender, EventArgs e)
Properties.Settings.Default.myColor = colorDialog1.Color;
when I close the application and rerun it the color that was picked is correct. However when I look at the setting.settings the color still shows the default color which I pick at first which was blue.
I have 2 questions:
1. where does the setting for the new color get saved at?
I looked at the exe.config and I see the blue color that I picked in the setup of the application. I do not see the new color that is coming up.
2. what does the synchronize button do when pressed. Everything I press it I get a messagebox that states :
No user.config files were found in any of the following locations: