예제 #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);
        }