how to return string onclosing winform (.net 2)
for example winform_1 opens winform_2, onclosing winform_2 returns a string to winform_1. please keep in mind no Dialog box.
thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
“Return” suggests that something within the first form is blocking on the second form, which sounds odd to me if it’s not a dialog.
One thing you could do is have a string property within the second form, then do:
Obviously rename all of these arbitrary names to something more meaningful…