G
Guest
I have a form, Form1, that shows an instance of Form2 when a user clicks a
button. On Form2, the user is to select items, Customer Names for example,
from a datagrid control. When the user clicks a button on Form2, I want to
pass the text of the selected Customer Names in the datagrid back to a
listbox control on Form1, but I'm stuck as to how to access the listbox back
on Form1. I have no problem getting the information I want from the datagrid,
I'm just stuck as to how to pass it back to the instance of Form1 that called
Form2 in the first place.
Any help is greatly appreciated.
Thanks,
Rich
button. On Form2, the user is to select items, Customer Names for example,
from a datagrid control. When the user clicks a button on Form2, I want to
pass the text of the selected Customer Names in the datagrid back to a
listbox control on Form1, but I'm stuck as to how to access the listbox back
on Form1. I have no problem getting the information I want from the datagrid,
I'm just stuck as to how to pass it back to the instance of Form1 that called
Form2 in the first place.
Any help is greatly appreciated.
Thanks,
Rich