In attachment is picture of C# net form. second picture has form in edit mode basically it needs following: Add and alter the following controls: Button Name: btnEdit Button Name: btnDelete Button Name: btnCancel txtEmpName MaxLength: 30 Remarks: Should only allow letters A-Z, a-z, space and back space characters. txtEmpID MaxLength: 8 Remarks: Should only allow 0-9 and back space characters. next - When the program starts the two textboxes should be set to read only so the user can not alter the contents unless they are in add or edit mode. Also the cancel and save buttons should be disabled. next In add mode the listbox, add button, edit button, and delete button should be disabled. The two textboxes, cancel button and save button should be enabled. next In edit mode the listbox, add button, edit button, employee ID textbox, and delete button should be disabled. The employee name textbox, cancel button and save button should be enabled. next Delete Mode: When the user clicks the delete button you should display a messagebox to ask the user if they are sure they want to delete the record. The messagebox should look like this image. If the user selects No then you should do nothing. If the user selects Yes then you should delete the user from the dictionary and update the listbox. Cancel Button: If the user clicks on the cancel button you should undo any changes that have been made and the state of the form should go back to the state it was in on program start with respect to all of the controls. Save Button: If the user clicks on the save button you should save any changes that have been made and the state of the form should go back to the state it was in on program start with respect to all of the controls. Also the dictionary and listbox should be updated.
Good Evening
In attachment is picture of C# net form. second picture has form in edit mode
basically it needs following:
Add and alter the following controls:
Button Name: btnEdit
Button Name: btnDelete
Button Name: btnCancel
txtEmpName MaxLength: 30 Remarks: Should only allow letters A-Z, a-z, space and back space characters.
txtEmpID MaxLength: 8 Remarks: Should only allow 0-9 and back space characters.
next -
When the
next
In add mode the listbox, add button, edit button, and delete button should be disabled. The two textboxes, cancel button and save button should be enabled.
next
In edit mode the listbox, add button, edit button, employee ID textbox, and delete button should be disabled. The employee name textbox, cancel button and save button should be enabled.
next
Delete Mode: When the user clicks the delete button you should display a messagebox to ask the user if they are sure they want to delete the record.
The messagebox should look like this image. If the user selects No then you should do nothing. If the user selects Yes then you should delete the user from the dictionary and update the listbox.
Cancel Button: If the user clicks on the cancel button you should undo any changes that have been made and the state of the form should go back to the state it was in on program start with respect to all of the controls.
Save Button: If the user clicks on the save button you should save any changes that have been made and the state of the form should go back to the state it was in on program start with respect to all of the controls. Also the dictionary and listbox should be updated.



Trending now
This is a popular solution!
Step by step
Solved in 3 steps









