A time ago, I asked how I could manipulate a collection (exactly a List<string>) in a PropertyGrid, and someone write a link http://www.codeproject.com/cs/miscctrl/customizingcollectiondata.asp
Apparently it would solve my problem. But when I try the example I found that when you delete all the collection's items or delete all the collection's items except only one, the collection index was bigger than the collection size, what gives a big exception. Apparently, the whole code seems to me correct and I can't find an alternative answer.
Can anyone help me to find a solution to this problem or say me how can I manipulate a collection with a PropertyGrid?
I must say I'm using Framework v2.0 (C#)
thank U