0
Reply

Updating a ListView from a seperate form

flipnjme

flipnjme

Jul 1 2004 9:14 AM
1.4k
Ok heres the problem: I have a form with a listview on it, form1. When a cd is inserted it opens up a dialog box with another listview on it with the name of the files and the sizes on an inserted cd. When I click on a file and click the Add button I have it close the dialog box and add the file to the listview on form1. What i want to do is make it when Add is clicked it adds it to form1 but the dialog box stays open so more can be added. I took the this.close(); out of the event for the Add click and put it in a new button called close, but when add is clicked it doesn't add the file untill closed is clicked so i can still only add one file unless i eject the cd and reinsert it. I tried using a modeless form so i can continue to excute the code, but that didn't work. Any help with this would be greatly appreciteated. Thank You.