public void SavePrefToManager(CfgManager mgr) { this.Log().Info("Trying to set the values of the preferences in the configuration manager"); mgr.SetValue(prefPrefix + "_format", ((int)format).ToString()); mgr.SetValue(prefPrefix + "_width", width.ToString()); mgr.SetValue(prefPrefix + "_height", height.ToString()); mgr.SetValue(prefPrefix + "_proportion", keepProportion.ToString()); }
public void SaveParametersToManager(CfgManager mgr) { this.Log().Info("Trying to set the values of the parameters in the configuration manager"); mgr.SetValue("previewsize", previewSize.ToString()); }