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

مشاهدة النسخة كاملة : event firing in combo box



C# Programming
01-07-2010, 09:20 AM
Hi,

I have a combobox, in which user can select a value from list and can also type the value.

In the 'SelectedIndexChanged' event some code is written.

I dont want to call the 'SelectedIndexChanged' event code when user types some value in combobox, 'SelectedIndexChanged' event should only be called when user selects a value from the list.

I have tried to suppress the 'SelectedIndexChanged' event when user types in something, but not able find some solution.

can someone please help in this?

Thanks in advance
Mahesh