Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
textBox1 on form1 = label1 on form 2?
#1
Hi, I'm using C# and I need to know how to do this.. thanks if you know <3
Reply
#2
Form2.Label1.Text = Form1.TextBox1.text
That is vb.net above, try and convert it with some converters on Google.
Reply
#3
Tried that already, but thanks fr replying.
Reply
#4
(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.
Reply
#5
Not working... :/
Reply
#6
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
[Image: t5BWm.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem in form Chuggaism 3 1,777 11-07-2013, 06:35 PM
Last Post: AceInfinity
  [VB.NET] Animated Form Extend [SRC] Fragma 6 5,228 10-10-2013, 12:18 PM
Last Post: Saket
  Greation a promission for users in main form or setting deveco 2 866 11-13-2012, 01:33 PM
Last Post: TAHMINA123
  [Tutorial] Fade In / Out Form [Source] ₠o™ 4 1,177 12-09-2011, 01:21 AM
Last Post: ₠o™
  [Help]Connecting Form Windows milopeach 3 1,076 05-04-2011, 07:10 AM
Last Post: KoBE

Forum Jump:


Users browsing this thread: 1 Guest(s)