Пример #1
0
        private void InitializeMyTree(PageType type)
        {
            ChannelSimpleExXmlElement rootChannel
                = Service.Sdsite.CurrentDocument.GetChannelElementById(Utility.Const.ChannelRootId);
            TreeNode treeNode = new TreeNode();

            treeNode.Name = rootChannel.Id;
            treeNode.Text = rootChannel.Title;
            this._tree.Nodes.Add(treeNode);
            CreatTreeNode(rootChannel, treeNode);
            treeNode.Expand();
        }
Пример #2
0
 public ChannelNode(ChannelSimpleExXmlElement element)
     : base(element)
 {
 }