protected override void ExecuteAction(string ribbonId)
        {
            this.StartNewUndoEntry();
            PowerPointPresentation pres  = this.GetCurrentPresentation();
            PowerPointSlide        slide = this.GetCurrentSlide();
            Selection selection          = this.GetCurrentSelection();

            CustomTaskPane shapesLabPane = this.GetTaskPane(typeof(CustomShapePane));

            if (shapesLabPane == null)
            {
                this.RegisterTaskPane(typeof(CustomShapePane), ShapesLabText.TaskPanelTitle);
                shapesLabPane = this.GetTaskPane(typeof(CustomShapePane));
            }
            if (shapesLabPane == null)
            {
                return;
            }
            shapesLabPane.Visible = true;

            CustomShapePane customShapePane = shapesLabPane.Control as CustomShapePane;

            customShapePane.InitCustomShapePaneStorage();
            customShapePane.AddShapeFromSelection(selection);
        }
        protected override void ExecuteAction(string ribbonId)
        {
            CustomShapePane customShape = InitCustomShapePane();
            Selection       selection   = this.GetCurrentSelection();
            ThisAddIn       addIn       = this.GetAddIn();

            customShape.AddShapeFromSelection(selection, addIn);

            SetPaneVisibility(true);
        }