icon

Usetutoringspotscode to get 8% OFF on your first order!

WinForms app programming

Problem 1 (25 points)
Write a WinForms app that contains a DateTimePicker that allows the user to enter
a date. When the “Date in Words” button is pressed, put the date into a label in the
formate:
March 2, 2017 is a Thursday.
determine the month name. Concatenate the month name, day number, space, year,
“ is a “, and day name into a string that is placed in the appropriate property of a
Label for display. Note: You can use the DayOfWeek property of a DateTime to help
determine the day of week. Look it up and figure out how to get the word
“Thursday” if the date is 3/2/2017.
Problem 2 (25 points)
Write a WinForms app to play Rock, Paper, Scissors, Lizard, Spock (Big Bang Theory
– look it up). Place an appropriately labeled ComboBox that contains items: Rock,
Paper, Scissors, Lizard, Spock as items in the dropdown. Change the DropDownStyle
to DropDownList, which prevents a user from typing in the ComboBox. A user
selects one of the options in the ComboBox. Next, the user should click the Play

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes