先得到窗口的信息
For Each f As WinForm.Form In Forms output.show("目录:" & f.Category & " | " & f.name)Next
然后,根据信息,用递归生成目录树
http://www.foxtable.com/webhelp/scr/2416.htm