这个好基础,我都知道
Private Sub Command1_Click()
Shell "cmd.exe /c shutdown -s -t 10" ’10秒关机
End Sub
Private Sub Command2_Click()
Shell "cmd.exe /c shutdown -r -t 10" ‘10秒重启
End Sub
Private Sub Command3_Click()
Shell "cmd.exe /c shutdown -a" ‘取消
End Sub

Private Sub Command1_Click()
Shell "cmd.exe /c shutdown -s -t 10" ’10秒关机
End Sub
Private Sub Command2_Click()
Shell "cmd.exe /c shutdown -r -t 10" ‘10秒重启
End Sub
Private Sub Command3_Click()
Shell "cmd.exe /c shutdown -a" ‘取消
End Sub
