/// <summary> /// Record the position of the mouse down event. /// </summary> private void Tree_MouseDown(object sender, MouseEventArgs e) { _clickedNode = (KellyControls.TreeNode)ItemTree.GetNodeAt(e.X, e.Y); }