winform treeview 递归
foreach (TreeNode CNode in LastTree.Nodes)
{
abc(CNode);
}
void abc(TreeNode node){
MessageBox.Show(node.Text);
foreach(TreeNode child in node.ChildNodes){
abc(child);// 递归
}
}
{
abc(CNode);
}
void abc(TreeNode node){
MessageBox.Show(node.Text);
foreach(TreeNode child in node.ChildNodes){
abc(child);// 递归
}
}