[DllImport("kernel32.dll")] public static extern int WinExec(string exeName, int operType); public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { WinExec(@"D:\project\LiuLun\LiuLun.Browser.Demo5\App\pdf.dll",1); }
这样做貌似还是有点问题的,以后再深入研究