private void Bar(Node pdaNode, string name, Type type, int icons)
        {
            pdaNode.Name = name;
            pdaNode.ControlType = type;
            pdaNode.OnContextHelpEvent += OnCommand;

            // Add enterprise scheduled reports node.
            pdaNode.ClosedImageIndex = icons;
        }
        private void Foo(Node acNode)
        {
            /* BEGIN */
            acNode.Name = "Node name";
            acNode.ControlType = typeof (Control);
            acNode.OnContextHelpEvent += OnCommand;

            acNode.ClosedImageIndex = (int) Number.One;
            /* END */
        }