以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  如何获取到当前已经打开的所有窗口  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=63476)

--  作者:jialihaha
--  发布时间:2015/1/21 18:50:00
--  如何获取到当前已经打开的所有窗口
我现在想每次点击新的菜单,打开窗口之前,关闭之前所有的窗口,请问怎么做呢?
--  作者:有点甜
--  发布时间:2015/1/21 19:08:00
--  
For Each f As WinForm.Form In Forms
    f.close
Next