johnyu1997
asked on
pass data with dialog result
How to pass data back from child form to main form using showdialog and dialog result. I just know how to pass from main to child but not the other way around. Please help!
Main Form:
Dim Frm as new form2
If frm.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
<perform some task>
end if
frm = nothing
Child Form:
Me.DialogResult = System.Windows.Forms.DialogResult.OK
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.