How to pass values from Child form to parent form with Modeless



I want to know how to pass values from different forms.
That is, i created one parent form. from there i opened
child form modeless way. Once i close the child form i
need some value from child form that to be transferred in
Parent form. thanks in advance.

Miha Markic

Hi Chandru,

You might Hide (instead of close) the child form, notify parent (by some
method) then let the parent retrieve the values and close the child form.

Ayende Rahien

Just use a property, register yourself for the form's close event and wait
there to read it.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question