DESCRIPTION:
FORM & I/O CONTROLS:
Create a form with one listbox for output and one or more textboxes for input.
BUTTONS:
Add the following buttons, and write handlers to perform the indicated tasks:
There should be one array, globally available at the class (form) level.
Use a constant (SIZE) for the size of the array container, and a variable (many) for the number of active elements.
Clear the output area, and display one value per line.
Increase the size of the array, get value from textbox, and store it into the new element. (Error message if array was already full.)
If there is a value in the textbox, fill that many elements of the array; if not, fill the entire array.
MODULARIZE:
Be sure to modularize your code, so that tasks are performed
only in subs and functions
that are called by your event-handlers.
Event handlers should do no input, nor output, nor computation.