EFileTahi-A
Contributor
How to change object properties in another form?
- THREAD RESOLVED -
Well, I have two forms, form1 and form2. How can I say throught form1 to the textbox inside form2 to have a a new Text value?
Form2 myForm2 = new Form2();
Form2.textbox1.text = "bla";
I just does not work! why? why?
the textbox is set to public, I also try it to public static but with no success...
Please aid me!
- THREAD RESOLVED -
Well, I have two forms, form1 and form2. How can I say throught form1 to the textbox inside form2 to have a a new Text value?
Form2 myForm2 = new Form2();
Form2.textbox1.text = "bla";
I just does not work! why? why?
the textbox is set to public, I also try it to public static but with no success...
Please aid me!
Last edited: