private void цвестToolStripMenuItem_Click(object sender, EventArgs e) { colorDialog1.ShowDialog(); Settings.Default.mecolor = colorDialog1.Color; menuStrip1.BackColor = Settings.Default.mecolor; главнаяСтраницаToolStripMenuItem.BackColor = Settings.Default.mecolor; Settings.Default.Save(); } Explanations:
mecoloris a setting that is responsible for the colors on the formmenuStrip1- it ismenuStrip1главнаяСтраницаToolStripMenuItemis a button on the menu in the program
Here I have this code ... the settings are not saved :( What to do and how to fix it?