I have an array list that I use as the datasource of a combobox. When I set the datasource of the combo equal to the arraylist, it triggers the combo index changed event once for every item in the array list.

Now usually this wouldn't matter but in this case as there is a sizeable amount of code that runs for the index changed event, I don't want this to happen.

My work around is a boolean for the event to run or not but this is ugly, is there any other way around this?