S
Steve Barnett
I have a user control that includes a StringCollection. I provide my users
with a property that retrieves a reference to the string collection so they
can add and remove items from it, just as you would do if this were, for
example, a listbox.
What I can't see is any way for my user control to detect that the
StringCollection was modified. Is there any way (short of overriding all the
methods) that I can be informed if the collection is modified so I can
redraw my control?
Thanks
Steve
with a property that retrieves a reference to the string collection so they
can add and remove items from it, just as you would do if this were, for
example, a listbox.
What I can't see is any way for my user control to detect that the
StringCollection was modified. Is there any way (short of overriding all the
methods) that I can be informed if the collection is modified so I can
redraw my control?
Thanks
Steve