I'd like to know how to pass, let's say an integer, from form1 to form2.
I tried to do that through a button that would open form2, but the event button click didn't recognize the integer... What should I do?
In form1 I have integer x, and I want that when I click on button1, form2 would open up with x value in a label.
If there's a way to pass the info without the button (then I could use the button just to open form2) that would be great as well.