Пример #1
0
 private void ThisAddIn_Startup(object sender, System.EventArgs e)
 {
     instance = this;
     Logger.StartLogger();
     this.Application.SlideShowBegin += onSlideShowBegin;
     this.Application.SlideShowEnd += onSlideShowEnd;
 }
Пример #2
0
 private void ThisAddIn_Startup(object sender, System.EventArgs e)
 {
     wire = new Wire();
     instance = this;
     this.Application.SlideShowBegin += onSlideShowBegin;
     this.Application.SlideShowEnd += onSlideShowEnd;
     this.Application.SlideSelectionChanged += onSlideChanged;
     this.Application.SlideShowOnNext += onSlideShowOnNext;
     this.Application.SlideShowOnPrevious += onSlideShowOnPrevious;
     this.Application.SlideShowNextBuild += onSlideShowNextBuild;
     this.Application.SlideShowNextClick += onSlideShowNextClick;
     this.Application.SlideShowNextSlide += onSlideShowNextSlide;
 }
Пример #3
0
 private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
 {
     ThisAddIn.instance = null;
 }
Пример #4
0
 private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
 {
     if (SSSW != null)
     {
         SSSW.Close();
         SSSW = null;
     }
     ThisAddIn.instance = null;
     this.wire.Disconnect();
     this.wire = null;
 }
Пример #5
0
 private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
 {
     if (SSSW != null)
     {
         Logger.Info("Shutting down SimplePens");
         SSSW.Close();
         SSSW = null;
     }
     ThisAddIn.instance = null;
 }