View Single Post
  #4  
Old December 21st 07, 02:20 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default modify contact when chages are not made to form region

The way to handle multiple open Inspectors (or multiple open Explorers) is
with a wrapper class and collection of wrapper classes. Each class handles
events for its own Inspector and therefore doesn't interfere with handling
any other Inspector.

I have sample VS2005 projects for shared and VSTO addins for Outlook 2007
posted on my Web site that implement Inspector and Explorer wrappers. The
samples are available in both C# and VB.NET and would give you an idea of
how to handle things like that. You can check them out at
http://www.slovaktech.com/outlook_2007_templates.htm if you want.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"sd" wrote in message
...
thanks ken
I implemented Item_write in addin.But if the user opens multiple
inspector windows then
do I've to take multiple Contactobjects?
thanks again

Ads