I have created 2 forms (Parent & Child), i want to store the unique textbox value to a variable into the parent form.
Also like this:
Parent Code:
dim passed_value = new childform()
passed_value.show()
On close:
refresh passed_value variable using childform textbox value.
You can Do the Following to accomplish the Task :
Stringvariable in the child form.ShowDialog()in the Main Form to show the Child form.valuein your form as per your needs]valuevariable from the Child form and set the textbox text according to it.