登录
首页 » C# » XML文件操作

XML文件操作

于 2022-04-30 发布 文件大小:1.44 kB
0 127
下载积分: 2 下载次数: 1

代码说明:

自己写的对XML文件读写,用于软件自动升级时记录文件版本等信息。创建新的xml文件,检查某个节点是否存在, 得到某个节点的子节点信息,设置某个节点的子节点信息,增加新节点, 删除某个节点

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • curl-7.65.1
    说明:  Duilib 是一款强大的界面开发工具,可以将用户界面和处理逻辑彻底分离,极大地提高用户界面的开发效率,遵循bsd协议。(Duilib is a powerful interface development tool, which can completely separate the user interface and processing logic, greatly improve the development efficiency of user interface, and follow the BSD protocol.)
    2020-06-19 19:40:02下载
    积分:1
  • KT_L_AMFMdrv
    KT0913L-D4 软件驱动资料,底层通过调试无问题(AM FM RADIO KT0913L-D4 driver )
    2015-12-15 11:03:44下载
    积分:1
  • This is a small library+ demo that transforms a .NET regular expression into an...
    用于.NET正则表达式和XML串之间相互转换的程序源码(包含演示)。源码为.NET 3.5 C# 格式。-This is a small library+ demo that transforms a .NET regular expression into an XML string and back. It helps understanding a long regex that was written by someone else, and allows easy editing. It s is developed in .NET 3.5 C#, sources included.
    2022-01-25 20:31:04下载
    积分:1
  • C #虚函数,抽象,接口简单的指令
    C#虚函数,抽象,界面简单说明
    2022-03-21 18:52:15下载
    积分:1
  • ds1302
    atmel单片机80c52,DS1302日历芯片,1602液晶电子钟源程序(atmel microcontroller 80c52, DS1302 calendar chip, LCD electronic clock source 1602)
    2011-12-29 19:18:36下载
    积分:1
  • wpf照片墙(带有3d效果)
    说明:  WPF照片浏览的源码,很炫酷的动态效果,可以参考做自己的照片墙(With a variety of styles of controls, powerful open source code, you can refer to their own beautiful interface WPF photo browsing source code, very dazzling dynamic effects, you can refer to do your own photo wall)
    2020-06-24 04:20:01下载
    积分:1
  • uartEcho
    am335x Startware 串口源码,针对am335x系列芯片(am335x Startware serial source for am335x series chip)
    2013-07-09 17:25:21下载
    积分:1
  • wpf滑动效果 实例源码
    鼠标拖动时 控件滑动 截图: 核心代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.Windows.Media.Animation;namespace FlashPrac2{ /// /// MainWindow.xaml 的交互逻辑 /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } /// /// 完成缓冲效果 /// /// 起始位置 /// 目标位置 /// 加速加速度 /// 减速加速度 /// 持续时间 private void DoMove(DependencyProperty dp, double to, double ar, double dr, double duration) { DoubleAnimation doubleAnimation = new DoubleAnimation();//创建双精度动画对象 doubleAnimation.To = to;//设置动画的结束值 doubleAnimation.Duration = TimeSpan.FromSeconds(duration);//设置动画时间线长度 doubleAnimation.AccelerationRatio = ar;//动画加速 doubleAnimation.DecelerationRatio = dr;//动画减速 doubleAnimation.FillBehavior = FillBehavior.HoldEnd;//设置动画完成后执行的操作 grdTransfer.BeginAnimation(dp, doubleAnimation);//设置动画应用的属性并启动动画 } private double pressedX; /// /// 点击鼠标,记录鼠标单击的位置 /// /// /// private void grdTest_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { ////获得鼠标点击的X坐标 pressedX = e.GetPosition(cvsGround).X; } ////鼠标释放时的操作 private void grdTest_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { double transferLeft = Convert.ToDouble(grdTransfer.GetValue(Canvas.LeftProperty)); //btn1.Content = transferLeft.ToString(); if (transferLeft > 0) { transferLeft = 0; } if (this.Width - transferLeft > cvsGround.Width) { transferLeft = this.Width - cvsGround.Width; } ////获得鼠标释放时的位置 double releasedX = e.GetPosition(cvsGround).X; ////获得距离间隔 double interval = releasedX - pressedX; pressedX = 0; ////计算出传送带要的目标位置 double to = transferLeft interval; ////移动 //btn1.Content = transferLeft.ToString() " " to.ToString(); // btn1.Content = transferLeft.ToString() " " to.ToString(); DoMove(Canvas.LeftProperty, to, 0.1, 0.5, 0.5); } }}
    2014-06-24下载
    积分:1
  • imagetransformcodes
    此程序实现图象傅立叶变换、离散傅立叶变换和小波变换、可以自己设定小波变换的参数(this procedure image Fourier transform, discrete Fourier transform and wavelet transform, can set their own parameters of wavelet transform)
    2006-10-19 13:19:03下载
    积分:1
  • 面向对象参考试卷
    说明:  面向对象技术与方法期末试卷,BIT 2018-2019-1(Object-Oriented Technology and Method Final Examination Paper)
    2019-06-09 19:08:47下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载