24 lines
618 B
C#
24 lines
618 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|