示例#1
0
        private void MediaStrip_OnImageClicked(object sender, EventArgs e)
        {
            //MessageBox.Show("ImageBox " + (string)sender + " Clicked");
            //PPTMediaApplication.PPTApplication.
            slideIndex = System.Int32.Parse(sender.ToString());
            slides = ActiveMediaItem.PPTPresentation.Slides;
            try
            {
                ActiveMediaItem.PPTPresentation.SlideShowWindow.View.GotoSlide(slides.FindBySlideID(slideIndex).SlideNumber);

            }
            catch (Exception ex)
            {
                MessageBox msgbox;
            }
        }