/// <summary>
 /// Exit Power point application
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnExitPowerPoint(object sender, RoutedEventArgs e)
 {
     m_PowerPointManager.ClosePowerPoint();
     PowerPointPanelLeft.Visibility  = Visibility.Hidden;
     PowerPointPanelRight.Visibility = Visibility.Hidden;
     if (HideBackgroundCanvas != null)
     {
         HideBackgroundCanvas.Invoke(sender, e);
     }
 }
        /// <summary>
        /// Open Microsoft office Power point
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void OpenPPT(object sender, MouseButtonEventArgs e)
        {
            WinApplicationsLeft.Visibility  = Visibility.Hidden;
            WinApplicationsRight.Visibility = Visibility.Hidden;
            if (m_PowerPointManager.OpenPowerPoint())
            {
                PowerPointPanelLeft.Visibility  = Visibility.Visible;
                PowerPointPanelRight.Visibility = Visibility.Visible;
                if (HideBackgroundCanvas != null)
                {
                    HideBackgroundCanvas.Invoke(new object(), new EventArgs());
                }
            }

            /*try
             * {
             *  //Create an instance of PowerPoint.
             *  oPPT = new Microsoft.Office.Interop.PowerPoint.Application();
             *  // Show PowerPoint to the user.
             *  oPPT.Visible = Microsoft.Office.Core.MsoTriState.msoTrue;
             *  objPresSet = oPPT.Presentations;
             *  //oPPT.SlideShowNextClick += this.SlideShowNextClick;
             *
             *  OpenFileDialog Opendlg = new OpenFileDialog();
             *
             *  Opendlg.Filter = "Powerpoint|*.ppt;*.pptx|All files|*.*";
             *
             *  // Open file when user  click "Open" button
             *  if (Opendlg.ShowDialog() == true)
             *  {
             *      string pptFilePath = Opendlg.FileName;
             *      //open the presentation
             *      objPres = objPresSet.Open(pptFilePath, MsoTriState.msoFalse,
             *      MsoTriState.msoTrue, MsoTriState.msoTrue);
             *
             *      objPres.SlideShowSettings.ShowPresenterView = MsoTriState.msoFalse;
             *      System.Diagnostics.Debug.WriteLine(objPres.SlideShowSettings.ShowWithAnimation);
             *      objPres.SlideShowSettings.Run();
             *
             *      oSlideShowView = objPres.SlideShowWindow.View;
             *      PowerPointPanel.Visibility = Visibility.Visible;
             *  }
             * }
             * catch (Exception exception)
             * {
             *  MessageBox.Show("Unable to open Power Point, please make sure you have the program installed correctly");
             * }*/
        }