meanelvis
Newcomer
I'm using VB.net
Let me know if I'm way off-track here.
What i've got is an MDI container that's loading 2 MDI children: Child1 and Child2. In a nutshell, what I want to happen is whenever a listbox control in child1 is changed, I would like it to pass the listbox value to child2, have child2 set that variable as a parameter for a stored procedure in a data adapter, and have that dataset fill. All triggered by the child1's "ListBox1_SelectedIndexChanged" event.
This works fine when all the controls are on a single form, but it would be optimal for my app if I could have them on separate forms.
I guess my very basic question is, what is the best way to go about getting MDI child forms to interact with one another? Could you provide me with a simple example?
Much appreciated in advance for any help on this.
Let me know if I'm way off-track here.
What i've got is an MDI container that's loading 2 MDI children: Child1 and Child2. In a nutshell, what I want to happen is whenever a listbox control in child1 is changed, I would like it to pass the listbox value to child2, have child2 set that variable as a parameter for a stored procedure in a data adapter, and have that dataset fill. All triggered by the child1's "ListBox1_SelectedIndexChanged" event.
This works fine when all the controls are on a single form, but it would be optimal for my app if I could have them on separate forms.
I guess my very basic question is, what is the best way to go about getting MDI child forms to interact with one another? Could you provide me with a simple example?
Much appreciated in advance for any help on this.