Ah, yes, I found that interface sometime ago but I don't know how to use it
from outside a control designer (from an add-in, for example). Let me know
if you get more info.

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> Hi Carlos,
>
[quoted text clipped - 8 lines]
> Regards,
> Mario Vazquez
Mario Vázquez - 23 Jan 2007 11:09 GMT
Hi Carlos,
I still have'nt work with add-ins and macros, so I cannot properly talk
about it, but I'll explain you how I use this interface through the designer
of a component, and perhaps it helps you.
Anyway, I was testing the points you expose in your previous message, and
this interface does'nt solve them.
// Make the designer implements IComponentInitializer
class MyComponentDesigner:System.ComponentModel.Design.ComponentDesigner,
IComponentInitializer
{
...
// Implement the interface
void
IComponentInitializer.InitializeExistingComponent(System.Collections.IDictionary
defaultValues)
{
base.InitializeExistingComponent(defaultValues);
// hook point
}
void
IComponentInitializer.InitializeNewComponent(System.Collections.IDictionary
defaultValues)
{
base.InitializeNewComponent(defaultValues);
// hook point }
}
}
> Ah, yes, I found that interface sometime ago but I don't know how to use
> it from outside a control designer (from an add-in, for example). Let me
[quoted text clipped - 12 lines]
>> Regards,
>> Mario Vazquez