ok, i think it would be easiest to explain my problem like this:
i have two forms, form1, form2.
form1 is the main form...it can open form2, do some other stuff like take input, etc.
form2 is just a form with a text box.
i want some info put it in form1 to be transfered to form2's text box
but no matter what i do, i cannot update (or see) the text box component on form2. i've tried creating a public static method inside of form2's class that would take in a string and update the text box, but as soon as i make it public or static, it no longer allows access. I've tried setting the accessible role to static text and few other things but nothing works...
anyone know of some articles or something that explains how to make stuff globally accessible in C#
also, not sure that it matters, but this program is in .net 2.0 compatibility mode and has to stay that way
i have two forms, form1, form2.
form1 is the main form...it can open form2, do some other stuff like take input, etc.
form2 is just a form with a text box.
i want some info put it in form1 to be transfered to form2's text box
but no matter what i do, i cannot update (or see) the text box component on form2. i've tried creating a public static method inside of form2's class that would take in a string and update the text box, but as soon as i make it public or static, it no longer allows access. I've tried setting the accessible role to static text and few other things but nothing works...
anyone know of some articles or something that explains how to make stuff globally accessible in C#
also, not sure that it matters, but this program is in .net 2.0 compatibility mode and has to stay that way