Casker

导航

2013年3月28日 #

WinForm操作config文件

摘要: 往配置文件中保存配置信息View Code 1 public void SetConfigValue(string AppKey, string AppValue) 2 { 3 XmlDocument xDoc = new XmlDocument(); 4 xDoc.Load(System.Windows.Forms.Application.ExecutablePath + ".config"); 5 XmlNode xNode; 6 XmlElement xElem1; 7 ... 阅读全文

posted @ 2013-03-28 17:26 Casker 阅读(265) 评论(0) 推荐(0) 编辑