Search This Blog

Thursday, November 18, 2010

Windows Forms how to find out if selectedindex was changed by user or by code

Programmer Question

I have a combobox in a Windows Forms project with an event attached to the selectedindex changed event. The event is getting triggered when the selectedindex is changed both from code and from user input. How do you detect if the selectedindex is getting changed due to user input?



Find the answer here

No comments:

Post a Comment

Related Posts with Thumbnails