internal RootNode(ThreadStackNodeManager manager, TreeView root) { if (manager == null) { throw new ArgumentNullException("manager"); } if (root == null) { throw new ArgumentNullException("root"); } r_manager = manager; r_root = root; r_root.Nodes.Clear(); r_rootNode = r_root.Nodes.Add(r_manager.ApplicationName); r_rootNode.ImageKey = "application_cascade.png"; r_rootNode.SelectedImageKey = r_rootNode.ImageKey; r_rootNode.Tag = this; r_deadLocksNode = new DeadLocksNode(r_manager, r_rootNode); r_appDomainsNode = new AppDomainsNode(r_manager, r_rootNode); r_rootNode.Expand(); }
internal RootNode(ThreadStackNodeManager manager, TreeView root) { if (manager == null) throw new ArgumentNullException("manager"); if (root == null) throw new ArgumentNullException("root"); r_manager = manager; r_root = root; r_root.Nodes.Clear(); r_rootNode = r_root.Nodes.Add(r_manager.ApplicationName); r_rootNode.ImageKey = "application_cascade.png"; r_rootNode.SelectedImageKey = r_rootNode.ImageKey; r_rootNode.Tag = this; r_deadLocksNode = new DeadLocksNode(r_manager, r_rootNode); r_appDomainsNode = new AppDomainsNode(r_manager, r_rootNode); r_rootNode.Expand(); }