3 Replies - 519 Views - Last Post: 19 November 2012 - 09:36 AM Rate Topic: -----

#1 Litzana  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 19-November 12

Text from Form 2 into label from form 1?

Posted 19 November 2012 - 05:00 AM

Hello everyone :)

This is probably quite the basic block, but I'm a little stuck.

What I'm trying to do is get the user to input text into a textbox in one form, then on the press of an 'ok' button form2 closes and the text in the textbox is transferred to a label on Form1.

I'm quite new to C#, and have no idea where to start... Can I have some suggestions on how to do this please?

Thanks!

~Litzana

Is This A Good Question/Topic? 0
  • +

Replies To: Text from Form 2 into label from form 1?

#2 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 464
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

Re: Text from Form 2 into label from form 1?

Posted 19 November 2012 - 05:32 AM

Can you show us the code that you try and we will be glad to help you solve the problem :)

Other then that you can start by a simple search in google for your question surely your not the only one with this basic problem :)

Good Luck
Was This Post Helpful? 0
  • +
  • -

#3 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4436
  • View blog
  • Posts: 7,707
  • Joined: 08-June 10

Re: Text from Form 2 into label from form 1?

Posted 19 November 2012 - 07:25 AM

Please read this tutorial:

http://www.dreaminco...topic206458.htm
Was This Post Helpful? 1
  • +
  • -

#4 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5436
  • View blog
  • Posts: 11,659
  • Joined: 02-June 10

Re: Text from Form 2 into label from form 1?

Posted 19 November 2012 - 09:36 AM

Very common question. See FAQ 3


TOP most asked:
What does this error message mean?
FAQ 2: How do I debug
FAQ 3: How do I make Class1/Form1 talk to Class2/Form2


FAQ (Frequently Asked Questions - Updated NOV 2012
Spoiler



Was This Post Helpful? 0
  • +
  • -

Page 1 of 1