MS visual basic homework
Question Description
Modify the Fantasy Football application to be able to add a player name, their position, and their fantasy football points (both integer and decimal) to a multi-dimensional string array. On the interface include a listbox that will allow the user to show the list of players saved in the array.
Add Player (Textbox / Button / 15 points) – Add a textbox and a button labeled “Add” that will add that player to the array. In order to add a player, the “Calculate” button must have been clicked (e.g. it shouldn’t appear until the “Calculate” button is clicked, which means it should also disappear when “Clear” is selected or the position combobox is changed). Once the “Add” button is clicked, a messagebox should appear to denote the player was added to the array. Note the listbox is not updated when a player is added – only when the “Show Players” button is clicked.
Show Players (Listbox / Button / 10 points) – Add a listbox and a button labeled “Show” that will display a list of players, their position, and their decimal and integer points inside the listbox. If no players are in the array, a messagebox should appear with a message stating the array is empty.
Clear Players & Maximums (Array / Button / 15 points) – Add a button labeled “Clear List” that will remove all the players from the array. If this button is clicked, the listbox should also be cleared. The array should hold a maximum of 10 players.
Error Handling & Logic (10 points) – All textboxes and point labels should be cleared when the “Add Player”, “Show Players”, or “Clear Players” button is clicked. “Add Player” should not be able to be selected until the “Calculate” button is clicked.
This question has not been answered.
Create a free account to get help with this and any other question!
Brown University
1271 Tutors
California Institute of Technology
2131 Tutors
Carnegie Mellon University
982 Tutors
Columbia University
1256 Tutors
Dartmouth University
2113 Tutors
Emory University
2279 Tutors
Harvard University
599 Tutors
Massachusetts Institute of Technology
2319 Tutors
New York University
1645 Tutors
Notre Dam University
1911 Tutors
Oklahoma University
2122 Tutors
Pennsylvania State University
932 Tutors
Princeton University
1211 Tutors
Stanford University
983 Tutors
University of California
1282 Tutors
Oxford University
123 Tutors
Yale University
2325 Tutors