Is there a collection that will contain all of the open forms in VB.Net?
I have two forms FormA and FormB. FormB opens on the start of the program (as a splash screen) and then it using ShowDialog to display FormA. FormA however takes awhile to load because it is pulling A LOT of information from a database, so I want FormB to stay active until FormA's Load stage is finished. At the end of FormA's load stage I want to close FormB. How can I refer to FormB (which loaded FormA) from FormA's load event, so that I can close it?
I have two forms FormA and FormB. FormB opens on the start of the program (as a splash screen) and then it using ShowDialog to display FormA. FormA however takes awhile to load because it is pulling A LOT of information from a database, so I want FormB to stay active until FormA's Load stage is finished. At the end of FormA's load stage I want to close FormB. How can I refer to FormB (which loaded FormA) from FormA's load event, so that I can close it?