在 NodeMouseClick事件中 写 private void treeView1_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e) { MessageBox.Show(treeView1.SelectedNode.Parent.Text); }