Creating new form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

just one question: My application consists of two forms - when the user has
finished changing the application's configuration in the first one, this one
shall be closed, unloaded and the second form shall become the main form of
the application. How can this be done?

Thanks in advance for any hints/help,

Peter
 
Peter said:
Hi,

just one question: My application consists of two forms - when the
user has finished changing the application's configuration in the
first one, this one shall be closed, unloaded and the second form
shall become the main form of the application. How can this be done?

from your main method, first start the config window then the main
window, or start the config window from the constructor of the main
window (not that great).

FB

--
 
Peter,

Is it C# or VB.Net in VB.Net you can follow the procedure from C#, however
standard has VB.Net an inbuild sub main what result in a main form, so I
have the idea that you are using that.

Cor
 
Back
Top