예제 #1
0
 private void onSlideShowBegin(object sender)
 {
     if (WindowsInteropFunctions.presenterActive)
     {
         if (customPresenterIsEnabledForPresenterMode)
         {
             Logger.Info("starting simplePens for presenter presentation mode");
             SSSW = new SimplePenWindow();
             SSSW.Show();
         }
     }
     else
     {
         if (customPresenterIsEnabledForDefaultMode)
         {
             Logger.Info("starting simplePens for presenter presentation mode");
             SSSW = new SimplePenWindow();
             SSSW.Show();
         }
     }
 }
예제 #2
0
 private void onSlideShowEnd(object sender)
 {
     if (SSSW != null)
     {
         Logger.Info("Slideshow ended");
         SSSW.Close();
         SSSW = null;
     }
 }
예제 #3
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;
 }