private void FindRecursive(TreeNode treeNode) { foreach (TreeNode tn in treeNode.Nodes) { if (tn.Text.Contains(this.toolStripTextBox1.Text)) { //call the treeView1_AfterSelect event } FindRecursive(tn); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)