internal DeriveController(CustomTaskPane taskPane, RibbonAddition ribbonAddition)
        {
            if (instance != null)
            {
                throw new Exception("An ExcelController was already created, and only one is allowed.");
            }
            instance = this;

            this.taskPane       = taskPane;
            this.ribbonAddition = ribbonAddition;
            initTaskPane(taskPane);
        }
Exemple #2
0
 protected override Microsoft.Office.Core.IRibbonExtensibility CreateRibbonExtensibilityObject()
 {
     this.ribbonAddition = new RibbonAddition();
     return(this.ribbonAddition);
 }