16,555
社区成员
发帖
与我相关
我的任务
分享
dim second as integer =int.Parse(txtH.Text)*3600 + int.Parse(txtM.Text)*60 + int.Parse(txtS.Text)
System.Diagnostics.Process.Start(string.Format("Shutdown.exe -s -t {0}",second))
Private Sub btnOK_Click(byval sender as object,byval e as EventArgs) Handles btnOK.Click
dim second as integer =int.Parse(txtH.Text)*3600 + int.Parse(txtM.Text)*60 + int.Parse(txtS.Text)
System.Diagnostics.Process.Start(string.Format("Shutdown.exe -s -t {0}",second))
end sub