How to create log in page for windows app?

PRAISE PHS

Well-known member
Joined
Jun 2, 2011
Messages
58
Programming Experience
Beginner
Hi all,
I have a windows app. It has a parent window with five child windows on tabs. I want a login in page on the app such that when I run the app, the log in in page should show while having the parent window behind it in the background. The parent window should not work until the user logs in successfully. Once the log in in is done, it should disappear while showing the full app(i.e. parent window). Pls, kindly help and I look forward to hearing from you soon.
 
Well the first step is to create your login form.
Then I would suggest using the parent form's Shown event to display that login form as a dialog.
If the login in successful then continue, otherwise close the parent form from the Shown event.
 
Back
Top