Help on sending text from one form to another

locke06037

Newcomer
Joined
Oct 16, 2007
Messages
2
I have 3 forms shown this way.

Code:
Form1 form1 = new Form1();
Form1 form2 = new Form1();
Form1 form3 = new Form1();

form1.Show();
form2.Show();
form3.Show();

Form1 has a textBox1 and a button1 controls, now my problem is how can I pass the text in (form3)textBox1.Text to (form1)textBox1.Text by using the button1_Click since this.textBox1.text refers to the sender(form3). Any ideas?
 
I know this doesn't directly answer the already answered question, but you ought to take a closer look at VB.NET code. At a glance it probably seems drastically different from C#, but the only major difference between the two is that where C# uses symbols, VB uses keywords. Upon closer examination VB will probably seem self-explanatory and pulling the concepts from VB examples should be pretty easy. Just something to keep in mind down the road.
 
Back
Top