What is the best way of loading many user settings at once. For example my application has many user settings like :
settingCapitalizeStrings bool user true
then in my FormOptions_Load
I need to loop through all settings and values like :
private void FormOptions_Load(object sender, EventArgs e)
{
if(s.settingCapitalizeStrings == true)
{
capitalizeStringsCheckBox.Checked = true;
}
// and many many more
}
and then handle every CheckBox_CheckedChanged
Is there better solution ? Can I bind user settings or something like that?