private void treeViewChannel_MouseUp(object sender, MouseEventArgs e) { // Reset the drag rectangle when the mouse button is raised. this.dragBoxFromMouseDown = Rectangle.Empty; }