First i introduce what is my assignment doing.
I'm doing a Ordering System of Donuts which getting customer order product and quantities,
and the System will calculate the FINAL PAYMENT after discount.
Problem:
Now i have a customer order and added into shoppingCart (ListBox),
and inside the listbox will display "<Product Name>, <Quantity>, <SubTotal>"
Now let's assume the customer want delete a order, so how can i SubString a item from the listbox inorder to re-Calculate the grandtotal, and also the product name might have longer name or shorter name, so how can i substring the exactly subtotal amount?
Another problem,
i got a new form that able to linked from 2 different forms, but how can i determine which forms is called from?
because when i press the back/cancel button will return the form where the forms is called.