// Writes the job tree view selections to the registry associated with // the active job-def-set. // private void WriteJobDefSetPrefs(string Text) { Microsoft.Win32.RegistryKey Reg = m_Prefs.OpenKeyForSaving(); Reg.SetValue(JobDefSetPrefsKeyName(), Text); }
public void Save(Preferences Prefs) { Microsoft.Win32.RegistryKey Reg = Prefs.OpenKeyForSaving(); Reg.SetValue("ProcessPriority", m_ProcessPriority.ToString()); Reg.SetValue("MaxLogFileAge", m_MaxLogFileAge.ToString()); }