我使用的是:
using Microsoft.Office.Core;
using PowerPoint;
using Graph = Microsoft.Office.Interop.Graph;
using System.Runtime.InteropServices;
在winform内调用PowerPoint应用程序。问题是:ppt成功播放后,程序控制权在PowerPoint应用程序中,winform的一切行为都将得不到响应。
那有没有方法,可以使得winform可以控制ppt的播放,比如:winform内某个bool变量的值变化时,结束ppt的播放?