Exemplo n.º 1
0
        internal DeadLocksNode(ThreadStackNodeManager manager, TreeNode rootNode)
        {
            if (rootNode == null)
            {
                throw new ArgumentNullException("rootNode");
            }

            if (manager == null)
            {
                throw new ArgumentNullException("manager");
            }

            r_manager                        = manager;
            r_rootNode                       = rootNode;
            r_deadlocksNode                  = rootNode.Nodes.Add("DeadLocks");
            r_deadlocksNode.ImageKey         = "arrow_switch.png";
            r_deadlocksNode.SelectedImageKey = r_deadlocksNode.ImageKey;
            r_deadlocksNode.Tag              = this;



            r_threadDeadlocksNode  = new ThreadDeadLocksNode(r_manager, r_deadlocksNode);
            r_waitDeadlocksNode    = new WaitDeadLocksNode(r_manager, r_deadlocksNode);
            r_suspectDeadlocksNode = new SuspectDeadLocksNode(r_manager, r_deadlocksNode);
        }
Exemplo n.º 2
0
        internal DeadLocksNode(ThreadStackNodeManager manager, TreeNode rootNode)
        {
            if (rootNode == null)
                throw new ArgumentNullException("rootNode");

            if (manager == null)
                throw new ArgumentNullException("manager");

            r_manager = manager;
            r_rootNode = rootNode;
            r_deadlocksNode     = rootNode.Nodes.Add("DeadLocks");
            r_deadlocksNode.ImageKey = "arrow_switch.png";
            r_deadlocksNode.SelectedImageKey = r_deadlocksNode.ImageKey;
            r_deadlocksNode.Tag = this;



            r_threadDeadlocksNode = new ThreadDeadLocksNode(r_manager, r_deadlocksNode);
            r_waitDeadlocksNode   = new WaitDeadLocksNode(r_manager, r_deadlocksNode);
            r_suspectDeadlocksNode = new SuspectDeadLocksNode(r_manager, r_deadlocksNode);
           
        }