Example #1
0
        public void ExcludeItem()
        {
            SdsiteXmlDocument doc = Service.Sdsite.CurrentDocument;

            foreach (BaseTreeNode node in SelectedNodes)
            {
                if (node is ElementNode && !((ElementNode)node).Element.IsExclude)
                {
                    ElementNode dataNode = node as ElementNode;
                    doc.ExcludeItem(dataNode.Element.Id);
                }
            }
        }