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(); }
public ChannelNode(ChannelSimpleExXmlElement element) : base(element) { }