Created On:  29 August 2012


Windows Forms application has a form on which there are a number of Listbox and Combobox controls. As the application moves through a file of employees these controls get updated as new items are added to their lists. How can the application remove the data from these controls when it needs to start again with a new record?


Each of these controls has a Clear method on their Items collection. The following will remove all current items:
invoke listBox1::Items::Clear

invoke comboBox1::Items::Clear