Exemplo n.º 1
0
    /// <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);
        }
    }
Exemplo n.º 2
0
 private XmlDocument GetXmlConfigDoc()
 {
     return(XmlDS.GetXmlDocument());
 }