Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've tried several ways but I can't find anything working. Is there any possebility to call an AddIn from outside? I want to fill a AddIn Combobox when the OnClick-Event of an AddIn Button is fired, but don't know how to adress the Combobox.

Have you any Ideas?

share|improve this question
add comment

1 Answer 1

Communication between components can be done either directly (you address other addin components with AddIn.FromID, or using application extensions. The latter is especially useful if you need to share any data or state between multiple components. Extensions are also useful when you need to persist any state in the document.

The SDK includes a good discussion of this exact topic: see Add-in coding patterns.

share|improve this answer
    
+1 Also need to provide an Add method for the combobox, the base class's Add method is protected. –  Kirk Kuykendall Mar 21 '11 at 17:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.