Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have 3 forms shown this way.

 

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?

  • Leaders
Posted
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.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...