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


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hello Damian,

You can access the add-in module using the AddinModule property of the form.
.NET, Extended MAPI, Windows Phone & RT
Posted 26 Jun, 2008 05:03:21 Top
Andrei Smolin


Add-in Express team


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

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

Regards from Belarus (GMT+2),

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