C# TreeView 右键选中node
private void tvVmsList_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
if(e.Button == MouseButtons.Right)
{
tvVmsList.SelectedNode = tvVmsList.GetNodeAt (e.X ,e.Y );
}
}
{
if(e.Button == MouseButtons.Right)
{
tvVmsList.SelectedNode = tvVmsList.GetNodeAt (e.X ,e.Y );
}
}