c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • henricomc
    New Member
    • Mar 2008
    • 1

    c#

    I am new to Visual C# and i would like somebody to tell me how i could:

    1. declare a string variable p inside a button's event hander
    2. copy the contents of a text box into p using the input.Text property to get
    the actual value of the text the user has entered.
    3. add the string p to the a rich text box on the same form when you press the
    copy button
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Question moved to .NET forum.

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by henricomc
      I am new to Visual C# and i would like somebody to tell me how i could:

      1. declare a string variable p inside a button's event hander
      2. copy the contents of a text box into p using the input.Text property to get
      the actual value of the text the user has entered.
      3. add the string p to the a rich text box on the same form when you press the
      copy button
      What have you tried so far? Have you tried reading a tutorial first?
      Post what you have tried and only then can we help.

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Originally posted by r035198x
        What have you tried so far? Have you tried reading a tutorial first?
        Post what you have tried and only then can we help.
        r0 you are being uncharacteristi cally nice for something that seems rather obviously a homework assignment. Since you all posted replies, I wont close the thread.

        But in the future, henricomc, please read the posting guidelines and attempt to do your own homework first. A tutorial from anywhere on the web will be able to answer your question.

        Comment

        • r035198x
          MVP
          • Sep 2006
          • 13225

          #5
          Originally posted by Plater
          r0 you are being uncharacteristi cally nice for something that seems rather obviously a homework assignment. Since you all posted replies, I wont close the thread.

          ....
          Uncharacteristi cally eh?
          Easter mood I guess ...

          Comment

          Working...