调用系统关机\注销
System.Diagnostics.Process.Start("你要运行的程序路径");
System.Diagnostics.Process.Start("shutdown",@"/l");//------------注销计算机
System.Diagnostics.Process.Start("shutdown",@"/r");//------------重起计算机
System.Diagnostics.Process.Start("你要运行的程序路径");
System.Diagnostics.Process.Start("shutdown",@"/l");//------------注销计算机
System.Diagnostics.Process.Start("shutdown",@"/r");//------------重起计算机