static void AddChildren(IOptionPane child, TreeNode treeNode) { var t = treeNode.Nodes.Add(child.Name); t.Tag = child; child.Load(); foreach(var cchild in child.Children) AddChildren(cchild, t); }
static void Save(IOptionPane child) { child.Save(); foreach(var cchild in child.Children) Save(cchild); }