/// <summary> /// Initializes a new instance of the <see cref="FeedCategoryTreeNode"/> class. /// </summary> /// <param name="category">The category.</param> /// <remarks>Documented by Dev05, 2009-06-26</remarks> public FeedCategoryTreeNode(ModuleCategory category, FeedTreeNode mainNode) : base() { OwnModules = new List<ListViewItem>(); OwnSubCategoryModules = new List<ListViewItem>(); this.mainNode = mainNode; Category = category; Group = new ListViewGroup(category.Title); Text = category.Title; ImageIndex = 1; SelectedImageIndex = 1; }
/// <summary> /// Initializes a new instance of the <see cref="FeedCategoryTreeNode"/> class. /// </summary> /// <param name="category">The category.</param> /// <remarks>Documented by Dev05, 2009-06-26</remarks> public FeedCategoryTreeNode(ModuleCategory category, FeedTreeNode mainNode) : base() { OwnModules = new List <ListViewItem>(); OwnSubCategoryModules = new List <ListViewItem>(); this.mainNode = mainNode; Category = category; Group = new ListViewGroup(category.Title); Text = category.Title; ImageIndex = 1; SelectedImageIndex = 1; }