Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer

 
discard

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