private XDocument SelectGetRREcuDef() { string ldl = SimpleCombo.ShowDialog("Select ecu base", "Select ecu base", GetRRECUDefs(Settings.Default.RomRaiderEcuDefPath, this.parentMod.InitialCalibrationId)); XDocument ecuXml = XDocument.Load(Settings.Default.RomRaiderEcuDefPath + ldl); return(ecuXml); }
private XDocument SelectGetRRLogDef() { string ld = SimpleCombo.ShowDialog("Select logger base", "Select logger base", GetDefs(Settings.Default.RomRaiderLoggerDefPath)); XDocument xmlDoc = XDocument.Load(Settings.Default.RomRaiderLoggerDefPath + ld);//, LoadOptions.PreserveWhitespace); XDocument xmlDoc2 = new XDocument(xmlDoc); return(xmlDoc2); }
private XDocument SelectGetRREcuDef() { string mess = "Select ecu base from " + Settings.Default.RomRaiderLoggerDefPath; Trace.WriteLine(mess); string ldl = SimpleCombo.ShowDialog(mess, "Select ecu base", GetRRECUDefs(Settings.Default.RomRaiderEcuDefPath, this.parentMod.InitialCalibrationId)); Trace.WriteLine(String.Format("Selected ecu base {0}", ldl)); XDocument ecuXml = XDocument.Load(Settings.Default.RomRaiderEcuDefPath + ldl); return(ecuXml); }
private XDocument SelectGetRRLogDef() { string mess = "Select logger base from " + Settings.Default.RomRaiderLoggerDefPath; Trace.WriteLine(mess); string ld = SimpleCombo.ShowDialog(mess, "Select logger base", GetDefs(Settings.Default.RomRaiderLoggerDefPath)); Trace.WriteLine(String.Format("Selected logger base {0}", ld)); XDocument xmlDoc = XDocument.Load(Settings.Default.RomRaiderLoggerDefPath + ld);//, LoadOptions.PreserveWhitespace); XDocument xmlDoc2 = new XDocument(xmlDoc); return(xmlDoc2); }
private static string SelectRRLogDef() { return(SimpleCombo.ShowDialog("Select logger base", "Select logger base", GetRRLoggerDefs())); }