private void ThisAddIn_Startup(object sender, System.EventArgs e) { instance = this; Logger.StartLogger(); this.Application.SlideShowBegin += onSlideShowBegin; this.Application.SlideShowEnd += onSlideShowEnd; }
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; }
private void ThisAddIn_Shutdown(object sender, System.EventArgs e) { ThisAddIn.instance = null; }
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; }
private void ThisAddIn_Shutdown(object sender, System.EventArgs e) { if (SSSW != null) { Logger.Info("Shutting down SimplePens"); SSSW.Close(); SSSW = null; } ThisAddIn.instance = null; }