示例#1
0
 // Set the strips visibility for the given tree node according to expandednessity
 private void SetStripsVisibilityForNode(TreeNode node, bool visible)
 {
     mProjectView.SetStripVisibilityForSection((SectionNode)node.Tag, visible);
     foreach (TreeNode n in node.Nodes)
     {
         SetStripsVisibilityForNode(n, visible && node.IsExpanded);
     }
 }