예제 #1
0
        private void myShowRC(TreeNode node, RoleFamilyType RC)
        {
            TreeNode childNode = node.Nodes.Add(RC.Name.Value);

            childNode.Tag = RC;
            foreach (RoleFamilyType childRC in RC.RoleClass)
            {
                myShowRC(childNode, childRC);
            }
        }
예제 #2
0
        private static void ShowMyRoleClasses(TreeNode node, RoleFamilyType rc)
        {
            var childNode = node.Nodes.Add(rc.Name);

            childNode.Tag = rc;
            foreach (var childRc in rc.RoleClass)
            {
                ShowMyRoleClasses(childNode, childRc);
            }
        }