Return Data from child form to parent form

R

Ryu

Hi,

Is there a way to return data from a child form to a parent form using c#?

Thanks
 
M

Mona \(Grapecity\)

Hi Ryu,

There is no native property or controls to return a value from a child form
to parent form in C#, you will be required
to do so programmatically.You can write a function in the child form that
returns the desired value.
You can then create a property that can hold that value and then the parent
form can make a call as follows :

childformname.PropertyName

HTH

Mona
 
R

Ryu

Ok, Thanks. Will try that
Mona (Grapecity) said:
Hi Ryu,

There is no native property or controls to return a value from a child
form
to parent form in C#, you will be required
to do so programmatically.You can write a function in the child form that
returns the desired value.
You can then create a property that can hold that value and then the
parent
form can make a call as follows :

childformname.PropertyName

HTH

Mona
 

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

Top