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

            base.Initialize();
        }
示例#3
0
 public void Startup(IDesktopWindow mainDesktopWindow)
 {
     ExplorerTool.ShowExplorer(mainDesktopWindow);
 }