I have a label on Form1 called oldNumber.
When I click a button which loads Form2
, a label
called newNumber, will be displayed when form2 loads.
My presumption is for the label
to display the number from the previous form
as the form
loads it must be placed within the Form2
's load method. Although I'm not entirely sure how to call the oldNumber in Form1
to display in the newNumber Label
on form2
.
There is similar questions asked to this, but none have managed to help me.
Thanks!
P.s Im new to .NET, and winForms. So question is quite simple i know.