摘要: WPF读写config配置文件单。1. 在你的工程中,添加app.config文件。文件的内容默认为:1 2 3 2.如果你想给程序配置一些参数,就在标签中添加.例如下面:1 2 3 4 5 6 7 3.然后你在后台程序里需要的地方读写它就可以了。记住需要添加引用using System.Configuration; 4.读操作:string strPath = ConfigurationManager.AppSettings["Path"]; 5.写操作:Configuration cfa = ConfigurationMana... 阅读全文
posted @ 2013-09-21 11:10 飞飞O(∩_∩) 阅读(19679) 评论(0) 推荐(2) 编辑