private void Button_Click(object sender, EventArgs e)
{
if (searchOnAll.Checked == true)
{
TreeNodeCollection nodes = themes.Nodes;
foreach (TreeNode tn in nodes)
{
CallAllNodes(tn);
}
}
}
private void CallAllNodes(TreeNode node)
{
MessageBox.Show(node.Text);
foreach (TreeNode tn in themes.Nodes)
{
CallAllNodes(tn);
}
}