且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

一段时间后调用表格

更新时间:2022-03-06 01:08:44

最快的方法是在处理程序中启动一个Timer,该计时器检测第一个窗体何时关闭.设置间隔为五秒,然后在计时器的滴答处理程序中,停止/处置计时器,然后启动第二个表格.
The fastest way is to start a Timer in the handler that detects when the 1st form has been closed. Set the interval for five seconds, and in the tick handler for the timer, stop/dispose the timer, and start the 2nd form.