//Process pro = new Process();
//pro.StartInfo.FileName = "shutdown.exe";
//pro.StartInfo.Arguments = "-s -t 1";//延时时间为0(马上关机)
//pro.StartInfo.UseShellExecute = false;//不使用操作系统外壳程序启动进程
//pro.StartInfo.CreateNoWindow = true;//不创建窗体
//pro.StartInfo.RedirectStandardOutput = true;
//pro.Start();
//pro.StartInfo.FileName = "shutdown.exe";
//pro.StartInfo.Arguments = "-s -t 1";//延时时间为0(马上关机)
//pro.StartInfo.UseShellExecute = false;//不使用操作系统外壳程序启动进程
//pro.StartInfo.CreateNoWindow = true;//不创建窗体
//pro.StartInfo.RedirectStandardOutput = true;
//pro.Start();