Accessing controls from AddinnModules.cs in an outlook form.

Add-in Express™ Support Service
That's what is more important than anything else

Accessing controls from AddinnModules.cs in an outlook form.
 
Damian Sloane




Posts: 13
Joined: 2008-06-22
Second dumb question for the day...

I have an outlook form (AddinExpress.OL.ADXOlForm), and want to access an object in the 'AddinModule.cs' container (specificially a 'AddinExpress.OL.ADXOlFormsCollectionItem' object which I have made public). But, I cannot find where the instance of the AddinModule (AddinExpress.MSO.ADXAddinModule) is created.

How do I reference the child controls of AddinModule.cs from an outlook form?
Posted 25 Jun, 2008 23:19:55 Top
Eugene Astafiev


Guest


Hello Damian,

You can access the add-in module using the AddinModule property of the form.
Posted 26 Jun, 2008 05:03:21 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Damian,

Or, you can use the CurrentInstance static method of the AddinModule class.


Andrei Smolin
Add-in Express Team Leader
Posted 26 Jun, 2008 08:33:09 Top