title: Windows Forms how to find out if selectedindex was changed by user or by code
body: <p>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?</p>