右键选中节点事件

if (e.Button == MouseButtons.Right)
            {
                TreeNode node = this.tree.GetNodeAt(e.X, e.Y);
                if (node != null)//右键未选中节点,不改变当前选中的节点。
                {
                    this.tree.SelectedNode = node;
                }
            }
原文地址:https://www.cnblogs.com/xvqm00/p/1819030.html