Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to Transfer Information Between Forms - C# C Sharp Visual Studio 2008

Loading...

Sign in or sign up now!
29,447
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 4, 2010

In this tutorial I show you how to transfer information between forms using C# C Sharp in Visual Studio 2008.

WEBSITE:

http://www.Quack-Ware.com

FORUMS

http://www.Quack-Ware.com/forums/

FREE CODE SNIPPETS

http://www.freecodesnippets.com

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (QuackWare)

  • QUESTION : How can i check if in a textbox the text is numeric ( numbers only ) so example :

    Button Click :

    if (textbox1.text != Numeric)

    { MessageBox.Show("Error ~ Must Be Numeric","")

    }

  • You can use this code

    try {

    Int32.Parse(textbox1.Text);

    //If it reaches this line then it must be an int because an exception has not been thrown

    }

    catch {

    MessageBox.Show("Error ~ Must Be Numberic");

see all

All Comments (51)

Sign In or Sign Up now to post a comment!
  • Thanks, this was really helpful and easier than what I did

  • Thank from in turkey student :)

  • MessageBox.Show("You've just made a better programmer from now on");

  • wonderful thanks a lot,

    I had been trying to do the same thing before and had to work around it somehow, this is pretty simple method

  • Hi Quack I like and need the info but there are too many opps, form-flipping,etc and redos to follow. Any chance of you redoing the video?

  • I always get does not contain a constrictor that takes 0 arguments, then links me to Application.Rune(new form1());

    Anyone got any help, it happened since I added code from this video :/

  • How can you make and keep the form size maximum during run time? Thanks for your video...

  • Your voice sounds very familiar what high school did you go to?

  • it just won't work :(

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more