[求助]我想在程序中 关闭电脑怎么处理?
我想实现用开发的软件 来关闭机!请问 是那个类可以处理啊?
2006-10-17 15:27
2006-10-17 15:59
2006-10-17 16:42
2006-10-17 16:43
调用win2000,winxp的shutdown.exe程序进行关机,方法非常简单;
System.Diagnostics.Process.Start("cmd.exe", "/c shutdown.exe -s -t 0");

2006-10-17 17:31
2006-10-17 17:31
2006-10-17 17:33
2006-10-17 21:22
2006-10-18 17:07
2006-10-18 17:10