Question: Lab # 3 - Admin Home, Admin Add User Account and Admin Modify User Account Forms For this C# lab, you will modify the Home

Lab #3- Admin Home, Admin Add User Account
and Admin Modify User Account Forms
For this C# lab, you will modify the Home form for "Admin Mode" and create forms for the
Admin to add and modify user accounts. Please use the attachments on the last pages as a
guide for your forms.
1) The dimensions for each form are as follows:
a. AdminHome -(680 x 500)
b. AdminAddUserAccount -(410 x 435)
c. AdminModifyUserAccount -(410 x 485)
2) Name all controls based on their usage and purpose.
3) Create click events for the buttons and the combo boxes. For now, just add a
JOptionPane Message Dialog inside each event to display "Coming Soon" to the user.
We will eventually add code that will be called when the events are triggered.
4) For the "Role" combo box, add static selection choices for "Admin" and "User".
5) Create a private void method in the Admin - Modify Account Form named
"getCurrentUsers()" that we will call to dynamically read all current users and populate
them in the User Accounts combo box.
6) Add a call to the "getCurrentUsers()" method as the last step inside the constructor for the
Admin - Modify Account Form.
7) Modify the click event for the "Update Account" button by adding a call to the
"getCurrentUsers()" method.
8) Create all forms as JDialog forms and set the Home form as the parent when you call the
constructor.
9) Don't forget to modify the Home form to correctly show the new changes when it is in
"Admin Mode" verses the blank Home form when it is in User Mode.
Lab # 3 - Admin Home, Admin Add User Account and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!