指定winfrom程序配置文件时间:2023-03-09 03:10:08 System.AppDomain.CurrentDomain.SetData("APP_CONFIG_FILE", @"C:\ABC.CONFIG"); 但是当你读取过配置文件后就再也不能更改了。