locke06037 Posted November 3, 2007 Posted November 3, 2007 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? Quote
Administrators PlausiblyDamp Posted November 3, 2007 Administrators Posted November 3, 2007 http://www.xtremedotnettalk.com/showthread.php?t=83092 over in the tutor's corner is probably worth a read. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
locke06037 Posted November 4, 2007 Author Posted November 4, 2007 Thanks, but I dont seem to know VB.NET, I'm using C#.NET, thanks for the reply. It was solved here, http://www.xtremevbtalk.com/showthread.php?p=1257698 Quote
Leaders snarfblam Posted November 5, 2007 Leaders Posted November 5, 2007 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. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.