public static bool LoadConfig() { try { CreateConfigDir(); dsConfig.ReadXml(ConfigPath + ConfigFileName); return(true); } catch (Exception ex) { ConfigErrMessage = ex.Message; return(false); } }