Home > VB.Net, Visual Studio 2003, visual studio > VB.Net – Check Child Forms Of A MDI FORM

VB.Net – Check Child Forms Of A MDI FORM

source : www.dreamincode.net

this is to loop thou all Chid forms of a midi form
For Each f as Form In Me.MdiChildren

this isto hide all child forms ( appear to be closed)
f.visible=false

‘to make logon form visible
if f.name=”logon” then
f.visible=true
end if
Next