WantsToLearn
Programmer
Hello All,
If VB6, you could access particular form controls by using Controls("ControlName"), etc. It appears you must use the index in .Net. but they can change if you add or delete a control on the form.
I am passing a form reference into a class so that I can read some of the control values when I instantiate the class. Is there an easier way than setting up properties on the form to retrieve the information? Thanks in advance!
If VB6, you could access particular form controls by using Controls("ControlName"), etc. It appears you must use the index in .Net. but they can change if you add or delete a control on the form.
I am passing a form reference into a class so that I can read some of the control values when I instantiate the class. Is there an easier way than setting up properties on the form to retrieve the information? Thanks in advance!