G
Guest
Hello,
Situation:
I have a drop down list on a main form in my program. I have another form
for entering a new item that will reside in the drop down list of the main
form. When the Add item button is clicked on the second form, the second
form closes, but I also want the main form to rebind the data in the drop
down list.
I'm not sure how to tell the main form to rebind the data from the
form2_Closed event.
When I google this problem I get a ton of info on MDI, but that is not the
situation I'm looking for.
I've also looked into form1.FromHandle(form2) but I don't know how to get
the handle of a form, or even if this is the appropriate way of going about
this.
Thanks in advance,
- Paul
Situation:
I have a drop down list on a main form in my program. I have another form
for entering a new item that will reside in the drop down list of the main
form. When the Add item button is clicked on the second form, the second
form closes, but I also want the main form to rebind the data in the drop
down list.
I'm not sure how to tell the main form to rebind the data from the
form2_Closed event.
When I google this problem I get a ton of info on MDI, but that is not the
situation I'm looking for.
I've also looked into form1.FromHandle(form2) but I don't know how to get
the handle of a form, or even if this is the appropriate way of going about
this.
Thanks in advance,
- Paul