private void validationContext_Ended(object sender, EventArgs e) { // refresh root. LayerLister lister = Globals.MEFContainer.GetExportedValue <LayerLister>(); lister.TreeControlAdapter.Refresh(m_rootLayers); }
public LayeringCommands( ICommandService commandService, IContextRegistry contextRegistry, LayerLister layerLister) { m_commandService = commandService; m_contextRegistry = contextRegistry; m_layerLister = layerLister; }
public LayeringCommands( ICommandService commandService, IContextRegistry contextRegistry, LayerLister layerLister) { m_commandService = commandService; m_contextRegistry = contextRegistry; m_layerLister = layerLister; }
public void RefreshRoot() { // refresh root. LayerLister lister = Globals.MEFContainer.GetExportedValue <LayerLister>(); if (lister != null) { lister.TreeControlAdapter.Refresh(m_layerRoot); } }