G
Guest
This is the problem:Let's say that I have two windows forms(I am making an
mobile device application) and I have a textBox in Form1.In the other Form
(form2) i have a textBox and a button.So I want to implement a code in the
OnClick event of the button that will copy textBox1.text from Form1 into
textBox1.text in Form2.So I did:
Form1 f=new Form1();
textBox1.text=f.textBox1.text;
It is not working... .I set the modifiers of text boxes on public but it
is not working.Any ideas?
mobile device application) and I have a textBox in Form1.In the other Form
(form2) i have a textBox and a button.So I want to implement a code in the
OnClick event of the button that will copy textBox1.text from Form1 into
textBox1.text in Form2.So I did:
Form1 f=new Form1();
textBox1.text=f.textBox1.text;
It is not working... .I set the modifiers of text boxes on public but it
is not working.Any ideas?