Login screen

  • Thread starter Thread starter Markus Humm
  • Start date Start date
M

Markus Humm

Hello,

I'm new to CF and .NET programming.
In my application I build in a login screen recently. This one is the
form which is created by Application.Run. After succesfully proofing the
password I create a new form (.create) and show it modal. Now I can see
2 entries in Settings/Memory/Running applications. If I do the same from
within the other opened form I see three entries there.

How to avoid that?

Greetings

Markus
 
"Running Programs" enumerates all top level windows and shows their
captions. To remove your duplicates eitehr set the hidden Form's caption to
"" or destroy the Form.

-Chris
 
If you are using CF v2.0, see this and the links it points to:
http://www.danielmoth.com/Blog/2005/06/formowner-in-netcf-20.html

....also consider not having your login form as your main form. Have you real
main form as your main form, and the login form a secondary form or even a
panel that the main form shows... Its lifetime doesn't justify keeping it
around for the duration of your app's lifecycle.

Cheers
Daniel
 

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