I need help with the programming onC#
* Use a Simple Combo Box to hold the donut types initially populated with Chocolate and Glazed. Make sure and keep the list sorted in ascending alphabetic order as donut types are added (hint: see Sort property of the Simple Combo Box). Add Donut Type: The user should be able to add to the combo box. Do not allow a blank donut type to be added to the combo box. Display an appropriate message if this occurs. Focus should be returned to the text box portion of the combo box. This should be coded in the Add Donut Type menu item click event handler. Remove Donut Type: The user should be able to remove a donut type from the combo box. Display an appropriate error message if the user selects Remove Donut Type without first selecting a donut type. This should be coded in the Remove Donut Type menu item click event handler. Clear All Donut Types: The user should be able to clear all donut types from the combo box. This should be coded in the Clear All Donut Types menu item click event handler. Display Donut Type Count: The user should also be able to display the count of donut types in the combo box. This should be coded in the Display Donut Type Count menu item click event handler. * The About menu item under the Help menu should display Your Name in a Message Box. This should be coded in the About menu item click event handler. * The Exit menu item under the File menu should exit the application. This should be coded in the Exit menu item click event handler. * Implement a List of whole-numbers (no decimal places) to store the number of donuts entered by the user (Do NOT implement an Array). * The Calculate button adds the individual number of donuts to the List, calculates the Total of Donuts Sold, Average Donuts Sold, and total of Donut Sales. The Calculate button should then clear and set the focus to the Number of Donuts text box for the next user entry. * The Display Donut List button should display the items in the List using a Message Box. The Number of Donuts text box should be cleared and focus set back to it for the next user entry. * The Clear Donut List button should clear the List, as well as clear the input and output controls and set the focus to the Number of Donuts text box. It should also set the donut type combo box back to unselected. Counters and accumulators should also be reset where appropriate. DO NOT CLEAR THE DONUT TYPE COMBO BOX. * Include the following Data Validation and display an appropriate message (Message Box OR Error Provider component may be used) and clear and set the focus to the control causing the error (a nested if statement is recommended): • Number of Donuts must be a valid data type (i.e., TryParse method) • Number of Donuts must be greater than zero (accuracy validation) • User must select an item from the donut type combo box (text box portion of combo box should not be blank) * Add ToolTips to ALL the buttons with descriptive text * ALL donut types cost.60 (assume all donut types are the same price) The program must include standard features of a Windows application including: • Change the Text property of the form as indicated on the sample form • Appropriate naming conventions for all controls • Buttons with appropriate name and keyboard access key • AcceptButton and CancelButton properties should be assigned to the Calculate and Clear Donut List buttons respectively • Appropriate naming conventions and data type declarations for variables *Use a Simple Combo Bax to hold the donut types initially populated with Chocolate and Glazed. Make sure and keep the list sorted in ascending alphabetic order as donut types are added (hintse Sort property of the Simple Combo Box) – Add Donut Type: The user should be able to add to the combo box Do not allow a blank donut type to be added to the combo box. Display an appropriate message if this occurs. Focus should be returned to the text box portion of the combo box. This should be coded in the Add Donut Type menu item click event handler. Remove Donut Type: The user should be able to remove a donut type from the combo box Display an appropriate error message if the user selects Remove Donut Type without first selecting a donut type. This should be coded in the Remove Donut Type menu item dick event handler. Clear All Donut Types: The user should be able to clear all donut types from the combo box. This should be coded in the Clear All Donut Types menu item click event handler. Display Donut Type Count: The user should also be able to display the count of donut types in the combo box. This should be coded in the Display Donut Type Count menu item click event handler. * The About menu item under the Help menu should display Your Name in a Message Box. This should be coded in the About menu item click event handler. *The Exit menu item under the File menu should exit the application. This should be coded in the Excit menu item click event handler * Implement a List of whole-numbers (no decimal places) to store the number of donuts entered by the user (Do NOT implement an Array). * The Calculate button adds the individual number of donuts to the List, calculates the Total of Donuts Sold Average Donuts Sold, and Total of Donut Sales The Calculate button should then clear and set the focus to the Number of Donuts text box for the next user entry. * The Display Donut List button should display the items in the List using a Message Box. The Number of Donuts text box should be cleared and focus set back to it for the next user entry. * The Clear Donut List button should clear the List, as well as clear the input and output controls and set the focus to the Number of Donuts text box. It should also set the donut type combo box back to unselected. Counters and accumulators should also be reset where appropriate. DO NOT CLEAR THE DONUT TYPE COMBO BOX. * Include the following Data Validation and display an appropriate message (Message Box OR Error Provider component may be used and clear and set the focus to the control causing the error (a nested if statement is recommended: Number of Donuts must be a valid data type (i.e., TryParse method) Number of Donuts must be greater than zero (accuracy validation) • User must select an item from the donut type combo box (text box portion of combo box should not be blank) * Add ToolTips to ALL the buttons with descriptive text * ALL donut types cost.60 (assume all donut types are the same price) The program must include standard features of a Windows application including: • Change the Text property of the form as indicated on the sample form • Appropriate naming conventions for all controls • Buttons with appropriate name and keyboard access key • AcceptButton and CancelButton properties should be assigned to the Calculate and Clear Donut List buttons respectively • Appropriate naming conventions and data type declarations for variables B0% Donut Calculator Ele Tools Help Calciste Number of Donuts Select Type of Donut Number of Donuts Chocolate Glazed Total of Donuts Sold 24 Ток | Average Donuts Sold 6 Total of Donut Sales $14.40 Delay Dont List Cear Dont List Show transcribed image text * Use a Simple Combo Box to hold the donut types initially populated with Chocolate and Glazed. Make sure and keep the list sorted in ascending alphabetic order as donut types are added (hint: see Sort property of the Simple Combo Box). Add Donut Type: The user should be able to add to the combo box. Do not allow a blank donut type to be added to the combo box. Display an appropriate message if this occurs. Focus should be returned to the text box portion of the combo box. This should be coded in the Add Donut Type menu item click event handler. Remove Donut Type: The user should be able to remove a donut type from the combo box. Display an appropriate error message if the user selects Remove Donut Type without first selecting a donut type. This should be coded in the Remove Donut Type menu item click event handler. Clear All Donut Types: The user should be able to clear all donut types from the combo box. This should be coded in the Clear All Donut Types menu item click event handler. Display Donut Type Count: The user should also be able to display the count of donut types in the combo box. This should be coded in the Display Donut Type Count menu item click event handler. * The About menu item under the Help menu should display Your Name in a Message Box. This should be coded in the About menu item click event handler. * The Exit menu item under the File menu should exit the application. This should be coded in the Exit menu item click event handler. * Implement a List of whole-numbers (no decimal places) to store the number of donuts entered by the user (Do NOT implement an Array). * The Calculate button adds the individual number of donuts to the List, calculates the Total of Donuts Sold, Average Donuts Sold, and total of Donut Sales. The Calculate button should then clear and set the focus to the Number of Donuts text box for the next user entry. * The Display Donut List button should display the items in the List using a Message Box. The Number of Donuts text box should be cleared and focus set back to it for the next user entry. * The Clear Donut List button should clear the List, as well as clear the input and output controls and set the focus to the Number of Donuts text box. It should also set the donut type combo box back to unselected. Counters and accumulators should also be reset where appropriate. DO NOT CLEAR THE DONUT TYPE COMBO BOX. * Include the following Data Validation and display an appropriate message (Message Box OR Error Provider component may be used) and clear and set the focus to the control causing the error (a nested if statement is recommended): • Number of Donuts must be a valid data type (i.e., TryParse method) • Number of Donuts must be greater than zero (accuracy validation) • User must select an item from the donut type combo box (text box portion of combo box should not be blank) * Add ToolTips to ALL the buttons with descriptive text * ALL donut types cost.60 (assume all donut types are the same price) The program must include standard features of a Windows application including: • Change the Text property of the form as indicated on the sample form • Appropriate naming conventions for all controls • Buttons with appropriate name and keyboard access key • AcceptButton and CancelButton properties should be assigned to the Calculate and Clear Donut List buttons respectively • Appropriate naming conventions and data type declarations for variables
*Use a Simple Combo Bax to hold the donut types initially populated with Chocolate and Glazed. Make sure and keep the list sorted in ascending alphabetic order as donut types are added (hintse Sort property of the Simple Combo Box) – Add Donut Type: The user should be able to add to the combo box Do not allow a blank donut type to be added to the combo box. Display an appropriate message if this occurs. Focus should be returned to the text box portion of the combo box. This should be coded in the Add Donut Type menu item click event handler. Remove Donut Type: The user should be able to remove a donut type from the combo box Display an appropriate error message if the user selects Remove Donut Type without first selecting a donut type. This should be coded in the Remove Donut Type menu item dick event handler. Clear All Donut Types: The user should be able to clear all donut types from the combo box. This should be coded in the Clear All Donut Types menu item click event handler. Display Donut Type Count: The user should also be able to display the count of donut types in the combo box. This should be coded in the Display Donut Type Count menu item click event handler. * The About menu item under the Help menu should display Your Name in a Message Box. This should be coded in the About menu item click event handler. *The Exit menu item under the File menu should exit the application. This should be coded in the Excit menu item click event handler * Implement a List of whole-numbers (no decimal places) to store the number of donuts entered by the user (Do NOT implement an Array). * The Calculate button adds the individual number of donuts to the List, calculates the Total of Donuts Sold Average Donuts Sold, and Total of Donut Sales The Calculate button should then clear and set the focus to the Number of Donuts text box for the next user entry. * The Display Donut List button should display the items in the List using a Message Box. The Number of Donuts text box should be cleared and focus set back to it for the next user entry. * The Clear Donut List button should clear the List, as well as clear the input and output controls and set the focus to the Number of Donuts text box. It should also set the donut type combo box back to unselected. Counters and accumulators should also be reset where appropriate. DO NOT CLEAR THE DONUT TYPE COMBO BOX. * Include the following Data Validation and display an appropriate message (Message Box OR Error Provider component may be used and clear and set the focus to the control causing the error (a nested if statement is recommended: Number of Donuts must be a valid data type (i.e., TryParse method) Number of Donuts must be greater than zero (accuracy validation) • User must select an item from the donut type combo box (text box portion of combo box should not be blank) * Add ToolTips to ALL the buttons with descriptive text * ALL donut types cost.60 (assume all donut types are the same price) The program must include standard features of a Windows application including: • Change the Text property of the form as indicated on the sample form • Appropriate naming conventions for all controls • Buttons with appropriate name and keyboard access key • AcceptButton and CancelButton properties should be assigned to the Calculate and Clear Donut List buttons respectively • Appropriate naming conventions and data type declarations for variables
B0% Donut Calculator Ele Tools Help Calciste Number of Donuts Select Type of Donut Number of Donuts Chocolate Glazed Total of Donuts Sold 24 Ток | Average Donuts Sold 6 Total of Donut Sales $14.40 Delay Dont List Cear Dont List
Expert Answer
Answer to * Use a Simple Combo Box to hold the donut types initially populated with Chocolate and Glazed. Make sure and keep the l…