16.6. Exercises

  1. For all the catch blocks located in the various SRS classes, introduce a MessageBox to report problems.

  2. Advanced exercise: Research the .NET menu components using the FCL doc pages and replace the functionality of the five Buttons at the bottom of the SRS GUI using menu components instead of Buttons.

  3. Advanced exercise: Modify the SRS application to provide the user with the capability for setting his or her password. This process will involve the following:

    • Displaying an appropriate error message to the user.

    • Adding a Set Password button on the MainForm.

    • Popping up a dialog box in response to a click of the Set Password button to request that the user enter the old and new password (consider creating a "clone" of the PasswordForm ...

Get Beginning C# 2008 Objects: From Concept to Code now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.