ToggleParent() private method

private ToggleParent ( bool toggle ) : void
toggle bool
return void
Esempio n. 1
0
        private void ToggleParent(bool toggle)
        {
            SketchUpNode parent = this.parent as SketchUpNode;

            if (parent != null)
            {
                parent.ToggleParent(toggle);
                parent.Info.enabled = toggle;
            }
        }
        // Toggle Parent Item.
        private void ToggleParent(bool toggle)
        {
            SketchUpNode parentItem = parent as SketchUpNode;

            if (parentItem != null)
            {
                parentItem.ToggleParent(toggle);
                parentItem.Info.enabled = toggle;
            }
        }
Esempio n. 3
0
        private void ToggleParent(bool toggle)
        {
            SketchUpNode sketchUpNode = this.parent as SketchUpNode;

            if (sketchUpNode != null)
            {
                sketchUpNode.ToggleParent(toggle);
                sketchUpNode.Info.enabled = toggle;
            }
        }