Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i created login form but while login it correctly displays the next form and it also showing login form . Please help me solve this.
Posted
Updated 30-Aug-11 2:25am
v2
Comments
OriginalGriff 30-Aug-11 8:24am    
We would need to know more: Win app, or Web?
How are you handling the login form? Do you close it?
Use the "Improve question" widget to edit your question and provide better information.
Wayne Gaylard 30-Aug-11 8:26am    
Your keyboard got stuck on the s. Fixed it for you :)

1 solution

I think that you haven't included the code to close the form. You should do something like this:

C#
mainForm.Show();
            this.Close();


in the code for your login form. If you show us your code we could help further! :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900