I would like to close all mdichildren except the currently active one.
I already have a "close all" function:
Dim f As Form
For Each f In Me.MdiChildren()
f.WindowState = FormWindowState.Maximized
Next
But how would I write one that doesn't close the active form?
Thank you in advance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.