Esempio n. 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;
        }
Esempio n. 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);
        }