I'm trying to create a custom comtrol much similar to a combobox,but wich display a listview instead of a listbox, where you can add/show columns and items as you would in a regular listview control.
The one problem i'm finding is that after i add the custom control to a form to test the control and add columns and items to the listview, the columns and items i added at design-time dissapear when i run the form.
Curiously, at exception of columns and items, every other property i created keeps the values set at design-time.
I'm starting now creating custom controls and i couldn't find a solution for my problem so far.
Thanks in advance for any help you can give, and sorry for my english but it isn't my first language.