你可以去设置窗口的timertick事件,把自己关闭。
http://www.foxtable.com/help/topics/1301.htm
编写代码,Timertick事件
e.Form.Close