Currently I am creating a Point-of-Sale system in C# that allows items to be added to a listbox at the click of a button. The information contained in each item is its name, quantity, and price which is displayed in the listbox.
The quantity and price of each item needs to be updated whenever another item of the same type is added. For example, if two cinnamon rolls are added to the order, the quantity should be updated from 1 to 2 as well as the total price for those two items. Also, the total of the items in the listbox should be updated each time a new item is added to the order.
The following is what I currently have for the GUI:
Any help or suggestions on how to go about this would be appreciated.