public bool FindBreakpointNode(Breakpoint b) { foreach (TreeNode node in editbox.Nodes) { ListViewItem c = node.Tag as ListViewItem; Breakpoint bc = c.Tag as Breakpoint; if (bc.Equals(b)) { v.Items.Remove(c); editbox.Nodes.Remove(node); return(true); } } return(false); // 150, 58,70 }