Page 1 of 1

WinForms .(Net) C# some things like check boxes should created by code.

Posted: Sat Nov 27, 2021 10:38 am
by answerhappygod
WinForms .(Net) C#
some things like check boxes should created by code.
Winforms Net C Some Things Like Check Boxes Should Created By Code 1
Winforms Net C Some Things Like Check Boxes Should Created By Code 1 (97 KiB) Viewed 89 times
COMP-213 Visual Programming Sandwich Shop So, here's the plan: Let's make an app to make sure everything is set for the show time! We just got a customer from a new sandwich shop that wants to offer customizable sandwiches to customers. The following describes their philosophy when it comes to what makes a sandwich: 1. Bread: There are various breads with different prices and each can contain up to certain number of ingredients 2. Ingredients: There are various ingredients On the menu, the breads and ingredients should be sorted in ascending order based on their price (cheapest first). Naturally, if too many ingredients are selected for a sandwich, it will not be a valid choice. As breads/ingredients are being selected, the price preview should be updated so user knows how much their current selection costs. Once the ingredients are selected, they will be added to a list box on the side, where user can see the price and description of the sandwich. There should also be a way for the user to remove an added sandwich or finalizing the order. For List Box please note the following: . . List Box entries can be updated using the "Items" property The "Selectedltem" will return the selected item in a listbox (if any) List Box calls the "ToString()" method for each item to display its value (unless other binding properties are set) Using this, you can override “ToString()" method of a class so a custom value will be displayed On top of above, the customer has asked for the application to be locked behind a login page as well an about page to describe detail about the developer and the application as well as a splash screen. Other things to keep in mind: . Make sure you use Message Boxes to react to user actions where needed (invalid login confirming order, etc.) User should be able to customize the breads and the ingredients O Neither breads nor ingredients should be hardcoded Write clean code and use objects as needed Start with the core application then implement the splash screen, login, and the about page