Example #1
0
        private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            InitNLog.StartNLog();

            logger.ConditionalDebug("ThisAddIn_Startup");
            MSWText.Initialize();
            WordRibbon.Init();

            thisAddIn = this;

            foreach (WordRibbon wr in wRibbonL)
            {
                wr.InitHandlers(this.Application);
            }
        }
Example #2
0
        private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            InitNLog.StartNLog();

            logger.Info("ThisAddIn_Startup {0}", this.Application.Name);

            PPTText.Initialize();
            Ribbon1.Init();

            thisAddIn = this;

            foreach (Ribbon1 r1 in ribbon1L)
            {
                r1.InitHandlers(this.Application);
            }
        }
Example #3
0
 private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
 {
     logger.ConditionalDebug("ThisAddIn_Shutdown");
     InitNLog.CloseNLog();
 }
Example #4
0
 private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
 {
     logger.Info("ThisAddIn_Shutdown {0}", this.Application.Name);
     InitNLog.CloseNLog();
 }