C#TREEVIEW控件的右击事件private void treeView_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
{
Point p1=new Point(e.X,e.Y);
TreeNode View.GetNodeAt(p1);
if (nod1!=null&&e.Button==MouseButtons.Right)
{
421事件内容
MessageBox.View.SelectedNode.Text);
}
}