public void _setTreeNode(ITreeNode nTreeNode) { mTreeNode = nTreeNode; this.Text = nTreeNode._getTreeNodeName(); ImageSingleton imageSingleton_ = __singleton<ImageSingleton>._instance(); this.ImageIndex = imageSingleton_._getImageId(nTreeNode._getTreeNodeImage()); this.SelectedImageIndex = this.ImageIndex; mTreeNode.m_tTreeNodeNameChange += this._setTreeNodeName; mTreeNode.m_tNewChildTreeNode += this._newChildTreeNode; nTreeNode.m_tExpandSlot += this._expand; }