C#: What is the simplest way of passing a value from one form to another
Posted on 2011-10-17
I'm trying to code a restaurant biller. The idea is that for each food category, you can display the menu items on a different form, sum those items up, then put it on the calling form. The question is how can you pass a value from the second form into a label on the first form?
My first form is called frmMenu and my second form is called frmAppetizers. I have a double type value that needs to be passed from the frmAppetizers form, to the first one called frmMenu and displayed in a label.