Esempio n. 1
0
        /// <summary>
        /// 新增频道
        /// </summary>
        /// <param name="m_tree"></param>
        public void NewChannel()
        {
            string title = XmlUtilService.CreateIncreaseChannelTitle(((BaseFolderElementNode)CurrentNode).Element as FolderXmlElement);

            SdsiteXmlDocument     doc        = Service.Sdsite.CurrentDocument;
            BaseFolderElementNode parentNode = (BaseFolderElementNode)this.CurrentNode;

            doc.CreateChannel(parentNode.Element.Id, title);
        }