Support Forums

Full Version: textBox1 on form1 = label1 on form 2?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I'm using C# and I need to know how to do this.. thanks if you know <3
Form2.Label1.Text = Form1.TextBox1.text
That is vb.net above, try and convert it with some converters on Google.
Tried that already, but thanks fr replying.
(11-06-2010, 09:57 AM)—тэяаъчтэ х Wrote: [ -> ]Tried that already, but thanks fr replying.
So it's not working?
PS The code didn't need any conversion, because it works with C# already.
Not working... :/
Hey dude, if you are trying to read the label1.text, maybe, on form2 and add the value into a textbox on form1, then its like this for C#:

Code:
TextBox1.Text == form2.Label1.Text