Question: with UI Controls ( Labels , Text Boxes, Buttons ) For this lab, you will be modifying the Login form and creating a blank Home
with UI Controls Labels Text Boxes, Buttons
For this lab, you will be modifying the Login form and creating a blank "Home" form.
Please use the attachment on the last page of this document as a guide when modifying
your form.
For the Login form, use a dimension of and add the additional controls to scale.
Name all controls based on their usage and purpose.
Create click events for the buttons. You will add logic to the events in the subsequent steps.
For the Quit button event, you will need to add logic to close the Login form and exit the
application.
For the Login button event, you will need to add logic to validate the user input before
allowing the user to proceed to the next screen. For now, just verify the user enters
credentials of "admin" and "admin to login in as an admin or credentials of "user
and "user to login as a normal user.
After a successful login the Home form will either open in "Admin Mode" or "User
Mode". When the Home form opens in Admin Mode, it should say "Home Admin" at the
top. When the Home form opens in User Mode, it should say "Home" at the top.
When an invalid login is detected, display a message stating invalid credentials were entered.
You must disguise the user's input when entering the password.
Be sure to open the Home form as a modal dialog by using "ShowDialog instead of
"Show
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
