public int SetEclipse()
  {
   int ret = 0;
   XmlDocument doc = new XmlDocument();
   doc.Load("SystemSet.xml");
   XmlElement root = doc.DocumentElement ;
   XmlNode eclipse = root.SelectSingleNode("descendant::HaveEclipse[@key='runtime']");
   if (eclipse != null)
   {
    ret = int.Parse(eclipse.InnerXml) + 1000;
    eclipse.InnerXml = ret.ToString();
    doc.Save("SystemSet.xml") ;
   }
   return ret;
  }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2021-11-12
  • 2021-11-30
  • 2021-05-25
  • 2021-09-01
猜你喜欢
  • 2022-02-16
  • 2022-12-23
  • 2021-08-21
  • 2022-01-26
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
相关资源
相似解决方案