arcmap add in combo box

963
0
08-09-2013 03:49 PM
BanchanaPandey
New Contributor III
I have created an arcmap add in project where I have a toolbar. In the toolbar I have two combo boxes and a tool.
When I open the arcmap document, I want one of the combo boxes to be populated with the map toc layer names. Then based on the selection in first combobox, I want to populate the second combo box. It used to very easy before.

1. Where do I populate the combo box, in the combobox class itself or from somewhere else? I don't see oncreate or onload events for combo boxes.
2. How do i get reference to the second combox from On Sel Change of the First combo box?

Thanks!
0 Kudos
0 Replies