Hello,
If I have a class that does some calculations and I want to show the result of those calculations on a form's textbox, how can I do that ?
I have tried writing the following on the class, but it doesn't work:
form1.textbox1.text = showData(initialValues);
Where show data is one of the class' methods and it returns a string.
form1 also shows some other data that doesn't have anything to do with the method showData. showData is invoked by pressing a button on form1.
Thanks.
Regards,
Carlos
If I have a class that does some calculations and I want to show the result of those calculations on a form's textbox, how can I do that ?
I have tried writing the following on the class, but it doesn't work:
form1.textbox1.text = showData(initialValues);
Where show data is one of the class' methods and it returns a string.
form1 also shows some other data that doesn't have anything to do with the method showData. showData is invoked by pressing a button on form1.
Thanks.
Regards,
Carlos