using values from a parent form?

  • Thread starter Thread starter Willie Neal
  • Start date Start date
W

Willie Neal

I have parent form(A) which calls another form(B). I would like to use a
value from a row in a data grid on the parent form(A), in the code of my
called form(B). What is the best way to handle this.

Thanks,


Will
 
Hello Willie,
I have parent form(A) which calls another form(B). I would like to use
a value from a row in a data grid on the parent form(A), in the code
of my called form(B). What is the best way to handle this.

Create a property accessor on form(B) and call that in the code from form(A).
 
Please don't multipost. If any, use crosspost, and preferably not even
that.
I answered your post in the forms.control group (assuming I understood
your problem correctly in that the datagrid is on form(A). If it is on
form(B), do as Matt said and put a property on form(B) that form(A) can
use)

Happy coding!
Morten Wennevik [C# MVP]
 
Back
Top