Hey Lads,
I'm currently trying to pass data from one form to the other in C# (VS 2010).
The data in the first form contains generica data; firstname, lastname etc and I am trying to make it so when I press an edit button on Form1, it will load up the second form (Form2) and load the data that is currently in the textboxes in Form1 but enabled (so we can edit them as they are disabled by default to just enable browsing on Form1).
What is the easiest way to do this?
I've been trying to create an instance of a form and messing around with that but can't get it to work atm.
Any pointers?
Thanks,
Tom.
I'm currently trying to pass data from one form to the other in C# (VS 2010).
The data in the first form contains generica data; firstname, lastname etc and I am trying to make it so when I press an edit button on Form1, it will load up the second form (Form2) and load the data that is currently in the textboxes in Form1 but enabled (so we can edit them as they are disabled by default to just enable browsing on Form1).
What is the easiest way to do this?
I've been trying to create an instance of a form and messing around with that but can't get it to work atm.
Any pointers?
Thanks,
Tom.