Ralph

Ralph

  • NA
  • 1
  • 0

sharing values between forms

Sep 30 2005 10:16 AM
I am a begining C# programmer using Visual Studio 2005 Beta and have the following question. 

How can I access values from common controls, like a ComboBox, or variables within Form1 (the parent) from Form2 (a dialog) and vice versa?

Scenario:
In Form 1 the User enters form data. 
In Form 2 the input data is processed and the results are displayed in a new form 
with readonly textboxes. 

An explanation plus a code snipplet would be apreciated.

Answers (1)