tds01088

I have problem with login form starta up and then after Buttn click do form start up


Re: Windows Forms General start up logIn from then start up form windows

micvos

please elaborate. I want to help you but I really need a little bit more info.




Re: Windows Forms General start up logIn from then start up form windows

boban.s

Start the main form and in the load event do this:
-hide the form
-show the login form as dialog.
-create a property in the login form that will be public and will show that the login is successfull
-after closing login dialog form, check that property
-if the login is successfull, show the main form, else exit application.