예제 #1
0
        // Methods
        #region load document

        public void LoadDocument(System.Xml.XmlDocument oXmlDocument)
        {
            XmlDocument     = (System.Xml.XmlDocument)oXmlDocument.Clone();
            chkAuto.Checked = true;
            txtXPath.Text   = string.Empty;
            tvXPath.Nodes.Clear();
            txtXPath.AutoCompleteCustomSource.Clear();
            txtXPath.AutoCompleteCustomSource.AddRange(GetAllXPathsOfNode(CreateDocumentTreeNode(XmlDocument)));
        }