'定时器控件事件中
if Process.GetCurrentProcess.Id<>pid then
Process.GetCurrentProcess.Kill
end if
我打开一个记事本程序,为什么不能被自动关闭呢?记录本程序没有任何反映
...全文
366打赏收藏
关闭当前进程?
'类变量 private pid as integer form_load事件中 pid=Process.GetCurrentProcess.Id '定时器控件事件中 if Process.GetCurrentProcess.Idpid then Process.GetCurrentProcess.Kill end if 我打开一个记事本程序,为什么不能被自动关闭呢?记录本程序没有任何反映