/// <summary> /// Gets the XmlNode which correspons to the selected TreeNode in the Tree. /// </summary> /// <returns>XmlNode </returns> private XmlNode GetCurrentXmlNode() { XmlDocument xDoc = XmlDS.GetXmlDocument(); if (xDoc != null && !string.IsNullOrEmpty(CurrentXPath)) { return(xDoc.SelectSingleNode(CurrentXPath)); } else { return(null); } }
private XmlDocument GetXmlConfigDoc() { return(XmlDS.GetXmlDocument()); }