示例#1
0
 private void ThisAddIn_Startup(object sender, System.EventArgs e)
 {
     //Document Explorer---------------------------------------------------------
     de  = new DocumentExplorer();
     ctp = this.CustomTaskPanes.Add(de, "Document Explorer");
     ctp.VisibleChanged += new EventHandler(ctp_VisibleChanged);
     //--------------------------------------------------------------------------
 }
示例#2
0
        private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            //Document Explorer---------------------------------------------------------
            de  = new DocumentExplorer();
            ctp = this.CustomTaskPanes.Add(de, "Document Explorer");
            ctp.VisibleChanged += new EventHandler(ctp_VisibleChanged);

            Microsoft.Office.Interop.Excel.Application excelApp = Globals.ThisAddIn.Application;

            //--------------------------------------------------------------------------
        }