Sei sulla pagina 1di 1

CIS-160 Homework #1 Name:__________

Copy the Assignment 1 project (flag viewer) from the R: drive and make the
following modifications:
1. Add another country whose primary language is not English or Spanish. (e.g.
France). Add a radio button with shortcut key and a flag image. When the
country is selected, display the flag image for that country.
2. Add a textbox for the user to enter their name. Place a label to indicate that
they should enter their name.
3. When the user selects a country, greet them by name in the language of that
country. For example, if the users name is Jane and they select United
States, say, Hello, Jane, from United States. If they select Mexico, say,
Hola, Jane, de Mexico. Use the existing greeting label for this message.
4. Add tooltips to the radio buttons, textbox, and exit button.
Turn in this sheet and a print out of your code in a folder; drop your project folder in
the dropbox on the R: drive.
Grading

Criteria Points

Additional country with radio button and working flag image /5

Textbox for name entry /5

Greeting based on name, country, and language as appropriate /5

Tooltips as appropriate /5

Comments and naming conventions followed /5

Potrebbero piacerti anche