private void SaveSettingFromCheckbox(string Section, string Key, CheckBox control) { RegistryHelper.SaveSetting(Section, Key, control.Checked ? "1" : "0"); }
private void GetSettingIntoCheckbox(string Section, string Key, string Default, CheckBox control) { string value = RegistryHelper.GetSetting(Section, Key, Default); control.Checked = (value == "1"); }