188k views
2 votes
Create a project for a sandwich shop. The project, named SalsSandwiches, allows a user to use a ListBox to choose a type of sandwich from at least four choices (for example, Roast beef). When the user selects a sandwich type, the program should display a second ListBox that contains at least three types of bread (for example, Whole wheat). After the user selects a bread type, the program should display a third ListBox with at least three choices for additions (for example, Lettuce). Display a message on a Label that lists all the chosen options, and make the bread and additions ListBoxes invisible. If the user makes a new selection from the first ListBox with the main sandwich choices, the bread option becomes available again, and if a new bread selection is chosen, the additions option becomes available agai

1 Answer

3 votes

Answer:

Create a new C# windows application with the name SalsSandwiches. Add the below code in respective file.

Step-by-step explanation:

See attached images for the source code and output

Create a project for a sandwich shop. The project, named SalsSandwiches, allows a-example-1
Create a project for a sandwich shop. The project, named SalsSandwiches, allows a-example-2
User Tiff
by
3.9k points