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); }
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); }
private void ThisAddIn_Startup(object sender, System.EventArgs e) { SharedApp.InitAppTaskPanes(ref this.CustomTaskPanes); SharedApp.AppTaskPanes.CreateTaskpaneInstance(); }