tvTree.AfterSelect += new System.WinForms.TreeViewEventHandler(this.tvTree_AfterSelect);If you are then unhooking the event handler can be accomplished by doing something like this.
tvTree.AfterSelect -= new System.WinForms.TreeViewEventHandler(this.tvTree_AfterSelect);