private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            ExcelApp = Globals.ThisAddIn.Application;

            SharedApp.InitAppTaskPanes(ref this.CustomTaskPanes);
            SharedApp.AppTaskPanes.CreateTaskpaneInstance();

            //ExcelApp.WorkbookBeforeSave += new Microsoft.Office.Interop.Excel.AppEvents_WorkbookBeforeSaveEventHandler(Application_WorkbookBeforeSave);
        }
Beispiel #2
0
        private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            OutlookApp = Globals.ThisAddIn.Application;

            SharedApp.HostApp = Globals.ThisAddIn.Application;
            SharedApp.InitAppTaskPanes(ref this.CustomTaskPanes);
            SharedApp.AppTaskPanes.CreateTaskpaneInstance();

            OutlookApp.ItemSend += new Microsoft.Office.Interop.Outlook.ApplicationEvents_11_ItemSendEventHandler(Outlook_ItemSend);
        }
        private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            PowerPointApp = Globals.ThisAddIn.Application;

            SharedApp.HostApp = Globals.ThisAddIn.Application;
            SharedApp.InitAppTaskPanes(ref this.CustomTaskPanes);
            SharedApp.AppTaskPanes.CreateTaskpaneInstance();

            PowerPointApp.AfterPresentationOpen += new Microsoft.Office.Interop.PowerPoint.EApplication_AfterPresentationOpenEventHandler(PowerPoint_AfterOpen);
        }
Beispiel #4
0
 private void ThisAddIn_Startup(object sender, System.EventArgs e)
 {
     SharedApp.InitAppTaskPanes(ref this.CustomTaskPanes);
     SharedApp.AppTaskPanes.CreateTaskpaneInstance();
 }