// 在配置文件app.config中添加字段(在<configuration>节下写)

A)      声明一个节

 <configSections>

    <section name="ScreenLockInit" type="System.Configuration.NameValueSectionHandler" />

 </configSections>

 

B)      配置节中的值

<ScreenLockInit>

   <add key="DISENABLE_CTRL_ESC" value="false"/>

</ScreenLockInit>

 

//读方法

 

 //修改方法

 

 

 

 

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-31
  • 2022-12-23
  • 2021-12-13
  • 2022-01-04
相关资源
相似解决方案