CSC 230: The Week beginning Oct. 31
Redesign the form of the Die Frequency program using User Controls (a PictureBox and a TextBox) for the frequencies. Place the usercontrols in a panel and rewrite the code so that the controls are managed using a loop and not one-by-one.
Redesign the form of the State Capital Quiz program using User Controls (a Label and a TextBox) for the quiz display. Place the usercontrols in a panel (or GroupBox) and rewrite the code so that the controls are managed using a loop and not one-by-one.
Due Nov. 8
Presentation on User Controls
YahtzeeZipped.zip (uses User Controls)
AddressBookZipped.zip (written in class, not
commented)
PresidentsZipped.zip (coded in class - not commented; no new material just practice with parsing and arrays)
Lab:
Write a program that serves as a currency exchanger. Download and run the
executable CurrencyExchanger.exe which uses the
data file CurrencyExchangerates.txt (data taken
from http://www.xe.com/ucc/). The comboboxes should be filled using the data in the
text file in the Form-Load event. The user must enter an amount and select a "to" and
"from" currency type. Convert the amount entered to USD by dividing by the
number given for the "from" currency type. Then multiply by the number for th "to"
currency type. Clear out the result if any changes are made to the input data.