Professional Documents
Culture Documents
Log in System
Log in System
forms for every user type and if the user type "admin"
then the form2 will load, then if the user type "staff" the
form3 will load
TextBox
1
TextBox
2
button1
button2
Step 5.
Add two forms as your Form2 and Form3. just right click the
highlighted word logInSystem, then select Add after that select Windows form
and then just enter and no need to rename. To Add form3 just do it again the
instruction in step 2.
2nd
3rd
1st
Second Select
this
Step 6.
Design your Form2 and Form3 just like this. Form2 is almost
the same as Form3 except the label1, just rename the label1 in Form3 to
"User:Staff" the rest is the same.
Label3
Label1
Label2
richTextBox
1
button1
button2
dateTimePicke
r1
Continue coding
Step 8.
Step 9.
Output
Output
References: