Пример #1
0
        public override void contributeToTreeView(TreeView treeView)
        {
            TreeNode rootNode = new TreeNode(this.GetType().Name);

            rootNode.Expand();
            rootNode.Nodes.Add("target = " + target);
            TreeNode profileNode = rootNode.Nodes.Add("prof = ");

            prof.contributeToTreeNode(profileNode);
            treeView.Nodes.Add(rootNode);
        }
Пример #2
0
        public override void contributeToTreeView(TreeView treeView)
        {
            TreeNode rootNode = new TreeNode(this.GetType().Name);

            rootNode.Expand();
            TreeNode profileNode = rootNode.Nodes.Add("allegianceProfile = ");

            allegianceProfile.contributeToTreeNode(profileNode);
            rootNode.Nodes.Add("etype = " + etype);
            treeView.Nodes.Add(rootNode);
        }