winform中对XML文件的读,修改操作
// 在配置文件app.config中添加字段(在<configuration>节下写)
A) 声明一个节
<configSections>
<section name="ScreenLockInit" type="System.Configuration.NameValueSectionHandler" />
</configSections>
B) 配置节中的值
<ScreenLockInit>
<add key="DISENABLE_CTRL_ESC" value="false"/>
</ScreenLockInit>
//读方法
Code
//修改方法
Code