protected Node(int templateIndex, int selectedTemplateIndex) { this.m_pressedButtonIndex = -1; this.ActualHeight = -1; this.m_recalculationNeeded = true; this.m_iTemplate = templateIndex; this.m_iSelectedTemplate = selectedTemplateIndex; this.m_htMap = null; this.m_oData = new object[0]; this.m_ncNodes = new NodeCollection(this); this.m_bExpanded = false; this.m_nodeSpecificCellProperties = new Hashtable(); }
internal void SetParentCollection(NodeCollection nc) { if (this.m_ncParentCollection != nc) { this.m_ncParentCollection = nc; if (nc != null) { this.m_ncNodes.SetAdvancedTree(nc.AdvancedTree); } else { this.m_ncNodes.SetAdvancedTree(null); } this.NodeChanged = (this.m_ncParentCollection == null) ? null : new NodeChangedEventHandler(this.m_ncParentCollection.OnNodeChanged); } }