Beispiel #1
0
 private void WriteGeneralNodes()
 {
     _preferences.SetString("MouseWheelVerticalDelta", textBoxMouseWheelVertical.Text);
     _preferences.SetString("MouseWheelHorizontalDelta", textBoxMouseWheelHorizontal.Text);
     _preferences.SetString("ShutdownTime",
                            !dateTimePickerAutoShutdownTime.Checked
                                ? string.Empty
                                : dateTimePickerAutoShutdownTime.Value.ToString("h:mm tt"));
     _preferences.SetString("AutoUpdateCheckFreq", cbUpdateFrequency.SelectedItem.ToString());
     _preferences.SetInteger("HistoryImages", (int)numericUpDownHistoryImages.Value);
     _preferences.SetInteger("RecentFiles", (int)nudRecentFiles.Value);
     _preferences.SetBoolean("AutoSaveToolbars", cbToolbarAutoSave.Checked);
 }