Hi all,
How can I pass variable values between two forms when its not a MDI application i.e. no parent-child thing.
In particular,
I have two forms Form1 and Form2.
There is a variable in Form1 say 'choice'
When a button on Form1 is pressed, Form2 comes up and the user is asked to input some data depending on the value of 'choice'.
Then finally those values are returned to Form1.
How can I do this?
Thanks,
Saurabh
How can I pass variable values between two forms when its not a MDI application i.e. no parent-child thing.
In particular,
I have two forms Form1 and Form2.
There is a variable in Form1 say 'choice'
When a button on Form1 is pressed, Form2 comes up and the user is asked to input some data depending on the value of 'choice'.
Then finally those values are returned to Form1.
How can I do this?
Thanks,
Saurabh