private void bn_reset_all_Click(object sender, EventArgs e) { settings.ClearAll(); settings.LoadAll(); settings.OnSettingChangedAll(); UpdateSliderValues(); UpdateRadioButtons(); UpdateCheckboxes(); UpdateHistoryTimeoutDisplayLabel(); }
private void InitSettings() { mySettings = new SettingsStore(); Rectangle R = Screen.PrimaryScreen.WorkingArea; mySettings.WindowLocationDefault = new Point(R.Right - mySettings.WindowSizeDefault.Width - 20, R.Bottom - mySettings.WindowSizeDefault.Height); //mySettings.ClearAll(); // test defaults mySettings.LoadAll(); }