private void LogWin_FormClosing(object sender, FormClosingEventArgs e) { ServerConfig.ServerInstance().Dispose(); Environment.Exit(0); }
public static ServerConfig ServerInstance() { return _instance ?? (_instance = new ServerConfig()); }
public static ServerConfig ServerInstance() { return(_instance ?? (_instance = new ServerConfig())); }