コード例 #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);
        }
    }
コード例 #2
0
 private XmlDocument GetXmlConfigDoc()
 {
     return(XmlDS.GetXmlDocument());
 }