AppDomain appDomain = AppDomain.CurrentDomain; Configuration config = ConfigurationManager.OpenExeConfiguration(Path.Combine(appDomain.BaseDirectory, "XXX.dll")); XXX= int.Parse(config.AppSettings.Settings["XXX"].Value); XXX= int.Parse(config.AppSettings.Settings["XXX"].Value); XXX= int.Parse(config.AppSettings.Settings["XXX"].Value); XXX= int.Parse(config.AppSettings.Settings["XXX"].Value);
时间: 2024-11-02 11:21:05