|
Do all problems in class, using Visual Studios.
(There is no "takehome" exam.)
When you are finished, upload the two source files to your folder at http://suffolk.li/ Name the files as follows (using your own initials, instead of "xyz"): final.xyz.vb Your VB code, for handlers and methods. final.xyz.Designer.vb The "designer" code for your form.Print out your handler code (but do not print the Designer code). Do not exit Visual Studios - leave it running with your code. |
|
Create a form that has a large ListBox for output, and buttons for each of the events described below. Display your name on the form, at the lower left, and display the text "CST-112 FINAL" at the top. Also place a comment, containing the same information, near the top of your handler code in the code module.
Declare three arrays, of fifty integers each, with "class" scope (i.e. "global" to the form, and available to all handlers in the module). Name the arrays using your own name: use your first name for the first array, your middle name for the second array, and your last name for the third array. (If you prefer, you may abbreviate any of these names down to three letters). Also declare an integer variable, at the class level, to contain the value 50, indicating the length of the arrays.