Football application



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 / ) – 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 / ) – 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 / ) – 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 – 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. Here’s the code: I have the code if you need to see it. I would paste it here but it will only allow so many words