Another question guys... whats the best way to manage window forms?
Currently I have three forms - register, login and the main form (contains all the content once user logs on).
I understand that the following begins the first form - in which case will be my login screen
Application.Run(new Login());
What am I meant to do with this form once the user has logged in?
If i call the close command, just after another form is opened it actually closes both forms.
The only solution i can think of is to hide the login form once it is no-longer needed... messy though as i would manually have to close that form later.
or should the main form be called first, check if user has logged in... then open up a login or register form if necessary...
Question
Guest
Another question guys... whats the best way to manage window forms?
Currently I have three forms - register, login and the main form (contains all the content once user logs on).
I understand that the following begins the first form - in which case will be my login screen
What am I meant to do with this form once the user has logged in?
If i call the close command, just after another form is opened it actually closes both forms.
The only solution i can think of is to hide the login form once it is no-longer needed... messy though as i would manually have to close that form later.
or should the main form be called first, check if user has logged in... then open up a login or register form if necessary...
Thanks for any help...
Link to comment
Share on other sites
4 answers to this question
Recommended Posts