Interact with 2 or more windows in the same application

  • Thread starter Thread starter =?iso-8859-1?Q?Ant=F4nio_Jos=E9_Formiga_Neves?=
  • Start date Start date
?

=?iso-8859-1?Q?Ant=F4nio_Jos=E9_Formiga_Neves?=

How i moving and interacting with 2 or more windows in the same application.

For example, one login windows when the login is ok, move to Main windows.

Thanks
Formiga
 
Antônio José Formiga Neves said:
How i moving and interacting with 2 or more windows in the same
application.

For example, one login windows when the login is ok, move to Main windows.

Thanks
Formiga

There is only ever one "main window" in an application at any given
time. If you close this (note, Close, not Hide), the application context
returns back to the main program.

I suspect you can call Application.Run twice, once for the login form
and one for your real main form, but you'd have to store the login data
somewhere in the meantime. I haven't tested this, but it would be easy
to test.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top