示例#1
0
        //=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        public Topic()
        {
            contentId    = Guid.NewGuid().ToString();
            subtopics    = new TopicCollection(null);
            keywords     = new MSHelpKeywordCollection();
            this.Visible = true;

            subtopics.ListChanged += childList_ListChanged;
            keywords.ListChanged  += childList_ListChanged;
        }
示例#2
0
        //=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        public Topic()
        {
            contentId      = Guid.NewGuid().ToString();
            subtopics      = new TopicCollection(null);
            helpAttributes = new MSHelpAttrCollection(null);
            keywords       = new MSHelpKeywordCollection();
            this.Visible   = true;

            subtopics.ListChanged += new ListChangedEventHandler(
                childList_ListChanged);
            helpAttributes.ListChanged += new ListChangedEventHandler(
                childList_ListChanged);
            keywords.ListChanged += new ListChangedEventHandler(
                childList_ListChanged);
        }