How can I unload the windows application gracefully? I mean unloading and closing all the opened forms in the application.
Consider the following example of classic VB 6.0 for a better idea and I need the equivalent code in VB.NET
[VB 6.0 code]
For I = 0 To Forms.Count - 1