Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
Transferring user input from one Windows Form to another in Visual Studio.
Post Flair (click to view more posts with a particular flair)
Post Body

First of all, I'm going to be flat-out honest and say I'm basically a complete noob.

I have completed the Basic course on C# on Udemy with Mosh Hamedani (For those of you who may be familiar) and I am taking the intermediate course in the future. However his Basic course only focuses on Console writing and not anything 'Visual' in VS.

My program that I'm making is fairly simple, However it requires 37 individual user inputs.

It's a program which will take Wheel Alignment information (inputted by the User) and output it in a more 'customer-friendly' format.

There's three forms right now, Form 1 is just a title screen, Form 2 is Information Input and Form 3 is Information Output.

I'm having trouble with transferring user input from Form2 to Form3 as Textboxes are only accessible locally and I can't seem to figure out a way to convert the information contained to something available globally.

The textbox inputs need to be available globally, As in the future i will do Math to work out estimated tyre life based upon said inputs.

I have found one solution which did work, But given the way it works it will only work once and it will only be 'visible' on Form 3.

Here's a link to some screenshots to better explain where I'm at right now: https://imgur.com/a/SrqJtvo - Ignore the MS paint screens, It decided to screenshot both monitors!

I'm sure I'm missing something quite simple but right now I can't for the life of me figure this out.

Author
Account Strength
100%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
6,574
Link Karma
774
Comment Karma
5,730
Profile updated: 1 day ago
Posts updated: 3 weeks ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago