public static Config GetInstance() { if (instance == null) { instance = new Config(); } return instance; }
public MainForm() { this.conf = Config.GetInstance(); this.InitializeComponent(); }