I would like to close all mdichildren except the currently active one.
I already have a "close all" function:
But how would I write one that doesn't close the active form?
Thank you in advance.
I already have a "close all" function:
VB.NET:
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.