Пример #1
0
        private TreeNode AddForceTreeNode(TreeNode rootNode, ForceSide forceSide)
        {
            TreeNode node = new TreeNode(forceSide.ForceSideName);
            node.ImageIndex = 0;
            node.SelectedImageIndex = 0;
            node.Tag = forceSide;
            rootNode.Nodes.Add(node);

            return node;
        }
Пример #2
0
        private TreeNode AddForceTreeNode(TreeNode rootNode, ForceSide forceSide)
        {
            TreeNode node = new TreeNode(forceSide.ForceSideName);

            node.ImageIndex         = 0;
            node.SelectedImageIndex = 0;
            node.Tag = forceSide;
            rootNode.Nodes.Add(node);

            return(node);
        }