public IEnumerable <IConfigurationPage> GetPages()
 {
     if (!ExplorerLocalSettings.Default.ExplorerIsPrimary && ExplorerTool.GetExplorers().Count > 0)
     {
         yield return(new ConfigurationPage <ExplorerConfigurationComponent>("PathExplorer"));
     }
 }
Exemplo n.º 2
0
        public override void Initialize()
        {
            if (_mainWindowTool == null)
            {
                _mainWindowTool = this;
            }

            base.Initialize();
        }
Exemplo n.º 3
0
 public void Startup(IDesktopWindow mainDesktopWindow)
 {
     ExplorerTool.ShowExplorer(mainDesktopWindow);
 }