Exemplo n.º 1
0
        public override void contributeToTreeView(TreeView treeView)
        {
            TreeNode rootNode = new TreeNode(this.GetType().Name);

            rootNode.Expand();
            TreeNode trackerNode = rootNode.Nodes.Add("contractTracker = ");

            contractTracker.contributeToTreeNode(trackerNode);
            rootNode.Nodes.Add("bDeleteContract = " + bDeleteContract);
            rootNode.Nodes.Add("bSetAsDisplayContract = " + bSetAsDisplayContract);
            treeView.Nodes.Add(rootNode);
        }
Exemplo n.º 2
0
        public override void contributeToTreeView(TreeView treeView)
        {
            TreeNode rootNode    = new TreeNode(this.GetType().Name);
            TreeNode trackerNode = rootNode.Nodes.Add("contractTracker = ");

            contractTracker.contributeToTreeNode(trackerNode);
            rootNode.Nodes.Add("bDeleteContract = " + bDeleteContract);
            rootNode.Nodes.Add("bSetAsDisplayContract = " + bSetAsDisplayContract);
            if (retailPcap == true)
            {
                rootNode.Nodes.Add("unused1 = " + Utility.FormatHex(unused1));
                rootNode.Nodes.Add("unused2 = " + Utility.FormatHex(unused2));
                rootNode.Nodes.Add("unused3 = " + Utility.FormatHex(unused3));
            }
            treeView.Nodes.Add(rootNode);
            rootNode.ExpandAll();
        }