[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:projectLiuLunLiuLun.Browser.Demo5Apppdf.dll",1); }
这样做貌似还是有点问题的,以后再深入研究