p.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;

解决方案 »

  1.   

    Process proc = new Process();
                        //proc.StartInfo.WorkingDirectory = ConfigurationManager.AppSettings["path"].ToString();
                        proc.StartInfo.UseShellExecute = true;
                        //proc.StartInfo.Verb = "Open";
                        proc.StartInfo.CreateNoWindow = true;
                        proc.StartInfo.FileName = ConfigurationManager.AppSettings["path"].ToString() + ConfigurationManager.AppSettings["file"].ToString();
                        proc.Start();再加上勾选了“允许服务与桌面交互”之后就解决了就行.测试通过的代码