I have a view form which loads a instance form, here is the code. The problem is the user can close the main form. Is there anything I can check before closing the main form to see if any new forms have been spawned from it.
Dim frm As New UserForm
AddHandler frm.Closed, AddressOf InstanceFormClosed
Me.Cursor = Cursors.Default