Getting modules to communicate with each other

Nov 30, 2010 at 8:42 AM
Hi Everyone,

With the assistance of the excellent sample code from John Haigh’s blog.  http://geekswithblogs.net/johnhaigh/archive/2009/10/05/monoaddinswindowsformsapplicationsamplepart1.aspx I have been able to create an add-in that adds a button to a toolbar and a user control to a WinForm.

However, I am now stuck again. The user control is very simple and contains only one textbox.
What I am trying to do is to populate the textbox with a simple string (Hello World) when the button on the toolbar is pressed. It all appears to work when I debug the code but nothing is displayed in the textbox, so I imagine I have an instance problem.

Can anyone help me with a code sample or documentation on how to solve my problem?

Thanks in advance,

John
Nov 30, 2010 at 8:52 AM

 

Below is a link to the vs2008 project files

http://www.box.net/shared/fe1du0p491

The dll's in the bin directory have .sav appended to the name to allow emailing the project.  

Cheers,

John