Wednesday, August 15, 2007

Programming Exercise 7: Windows Forms 3

This exercise is due on August 22, Wednesday. Compress the whole project located at "My Documents Path\Visual Studio 2005\Projects\Project Name" and upload it to ELMS.

Continuing from exercise #6, update your User Management application to support the following operations:

  • Edit a User record
  • Delete a User record
The application should have these additional buttons:
  • Edit - enables all textboxes (except the current index) for editing
  • Delete - deletes the current User record from the list
The functionality of these existing buttons should also be updated:
  • Save - if in edit mode, updates the current User record using values from the textboxes
  • Cancel - if in edit mode, disables all textboxes without updating the current User record
You can download the updated sample output here.

Hint: Use the ArrayList class for storing values as this array can be dynamically resized.