public XmlDocument LoadEncodedFile(string xFile) { return(cBusinessObjects.NewLoadEncodedFile(xFile)); try{ XmlDocument d = null; string item = xFile.Split('\\').Last(); if (App.m_bxmlCacheEnable) { if (App.m_xmlCache.ContainsKey(item)) { d = ((XMLELEMENT)App.m_xmlCache[item]).doc; } else { CheckXmlCache(); d = StaticUtilities.BuildXML(item); if (d != null) { App.m_xmlCache.Add(item, new XMLELEMENT(d, false)); } } } else { d = StaticUtilities.BuildXML(item); } if (d == null) { d = LoadEncodedFile_old(xFile); } return(d); } catch (Exception aa) { } return(null); }