private void LoadReprobe(XmlDocument xmlDoc, ReprobeConfigData configData) { XmlOldReprobe xmlReprobe = new XmlOldReprobe(); xmlReprobe.LoadConfig(xmlDoc); configData.Enabled = xmlReprobe.Enabled; configData.NumberOfReprobes = xmlReprobe.NumberOfReprobes; configData.ReprobeOnTheFly = xmlReprobe.ReprobeOnTheFly; }
private void SaveReprobe(XmlDocument xmlDoc, ReprobeConfigData configData) { XmlOldReprobe xmlReprobe = new XmlOldReprobe(); xmlReprobe.Enabled = configData.Enabled; xmlReprobe.NumberOfReprobes = configData.NumberOfReprobes; xmlReprobe.ReprobeOnTheFly = configData.ReprobeOnTheFly; xmlReprobe.SaveConfig(xmlDoc); }