tijian_jichuang/Code/SOH.Kernel/Configuration/LocalConfig.cs

24 lines
618 B
C#
Raw Normal View History

2025-02-20 11:54:48 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SOH.Configuration
{
public static class LocalConfig
{
private static System.Configuration.Configuration _config;
public static System.Configuration.Configuration Config
{
get {
if(_config==null)
{
_config = System.Configuration.ConfigurationManager.OpenExeConfiguration(Application.StartupPath + "\\local.ext");
}
return _config;
}
}
}
}