Closing all forms except the main
Posted on 2006-10-21
I have a application there from a main form several other forms can be created ( and hided ) by user and from them other forms can be created etc
To start a new calculation ( a new case) with the program I have to be sure that all forms (visibled and hided) are cleaned from the memory.
Alternative is, of course, to close, the main form ( and the program) and restart it again.
How I can cleaned all this forms except the main one (to avoid restarting of the program)?
I use VS 2005