
Now In code behind of above form Write below
code. .

With the above code, run this application.
Now debug the code. you will see that you debugger goes to the
combobox_selectindexchanged after the form_load.
Bcoz when you write this line
"comboBox1.SelectedIndex=0". here you change your combobox index
programmatically
That's why it call selectindexchange. To
prevent this problem You have to unregistered your control event according
to your requirement. Now,
On the Form_load you have to unregistered
your combobox_selectindexchanged and after the binding of combobox you
have to register your event
combobox_selectindexchanged like below img.

If there is any suggestion please leave
comment.

Ravi ShekharPosted Apr 18, 2013, 6:02 AM
Goto below link for reference... http://docs.autodesk.com/ACD/2014/ENU/index.html?url=files/GUID-5089A5B4-5553-4A4C-A88B-455AA29A0E96.htm,topicNumber=d30e718238