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

مشاهدة النسخة كاملة : Selected tab that affect on listbox



C# Programming
08-16-2009, 10:41 PM
Hi,

I have tabcontrol that i added to it 10 tabs (named 1 to 10).
i also have listbox that contains 1 to 10 items.

I'm trying to combain between those to object,
when a some tab get focus (GotFocus event) the same name in the listbox will be selected automatic.

For exemple:
i press on the tab name 4,
the item named 4 in the kistbox will marked will blue (selected).

Someone can help me here?