private void MenuStripFilterOnBuild(object sender, EventArgs e) { TreeNode node = projectTreeView.GetNodeAt(projectTreeView.PointToClient(filterMenuStrip.Bounds.Location)); if (node == null) { return; } ProjectUtils.BuildFilter(node.Text); }