private void CreateHierarchyEntry(Control control, int level) { HierarchyItem item = new HierarchyItem(control, level); m_hierarchyItems.Add(control, item); item.BoundControlSelected += item_BoundControlSelected; item.BoundDecoratorlSelected += item_BoundDecoratorlSelected; m_hierarchy.AddChild(item); }
private void CreateHierarchyEntry( Control control, int level ) { HierarchyItem item = new HierarchyItem( control, level ); m_hierarchyItems.Add( control, item ); item.BoundControlSelected += item_BoundControlSelected; item.BoundDecoratorlSelected += item_BoundDecoratorlSelected; m_hierarchy.AddChild( item ); }