المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Watching a listbox



C# Programming
04-29-2009, 01:12 PM
I have a listbox control that contains one or more directories. How do I watch this listbox to see if something is added or removed to it so I can proceed to update my other controls depending on what changed. I can't see an event that really pertains to this, maybe DrawItem but that seems like a bit of an ugly solution.

Thanks, sorry if this doesn't make sense, sleep is needed.