'Systemready = FalseFor Each Frm As WinForm.Form In Forms frm.open output.show(([Enum].getName(Gettype(FormStyleEnum), frm.FormStyle)) & " " & frm.name) frm.CloseNext'systemReady = True
经测试,要全部打开所有窗口,有的窗口打开时报错(指定表的窗口)