En créant mon propre coutume ParentControlDesigner
, mes public override void Initialize(IComponent component)
traite ces interfaces pour travailler avec la fenêtre designerQuelqu'un sait d'une classe qui implémente ISelectionService et/ou IComponentChangeService
ISelectionService service = (ISelectionService)this.GetService(typeof(ISelectionService));
if (service != null)
service.SelectionChanged += new EventHandler(this.OnSelectionChanged);
IComponentChangeService service2 = (IComponentChangeService)this.GetService(typeof(IComponentChangeService));
if (service2 != null)
service2.ComponentChanged += new ComponentChangedEventHandler(this.OnComponentChanged);
Je me demandais si quelqu'un connaissait toutes les classes qui œuvre ISelectionService
et IComponentChangeService
. Je veux voir comment ils sont construits et éventuellement référencés. Dans googling ISelectionService
, j'ai eu un certain nombre de lié à une définition ou l'implémentation Initialization
mais pas de liens vers une classe qui implémente réellement ISelectionService
.