项目-》添加新项-》常规-》配置文件
添加配置文件 MSetting.settings
MSetting.Default.mstring = "hello" MSetting.Default.Save()