private static void iterDeviceFolder(NodeHandler handler, DeviceUserFolderAggregation folders) { foreach (DeviceUserFolder f in folders) { handleDeviceFolder(handler, f); } }
private void buildDeviceFolderTree(TreeNodeCollection nodes, DeviceUserFolderAggregation folders) { foreach (DeviceUserFolder f in folders) { TreeNode folderNode = new TreeNode(f.Name); nodes.Add(folderNode); buildDeviceFolderTree(folderNode.Nodes, f.Folders); buildDeviceTree(folderNode.Nodes, f.Devices); } }
private void buildDeviceFolderTree(TreeNodeCollection nodes, DeviceUserFolderAggregation folders) { foreach (DeviceUserFolder f in folders) { TreeNode folderNode = new TreeNode(f.Name); nodes.Add(folderNode); buildDeviceFolderTree(folderNode.Nodes, f.Folders); buildDeviceTree(folderNode.Nodes, f.Devices); } }
private static void iterDeviceFolder(NodeHandler handler, DeviceUserFolderAggregation folders) { foreach (DeviceUserFolder f in folders) { handleDeviceFolder(handler, f); } }