コード例 #1
0
 public IEnumerable <IConfigurationPage> GetPages()
 {
     if (!ExplorerLocalSettings.Default.ExplorerIsPrimary && ExplorerTool.GetExplorers().Count > 0)
     {
         yield return(new ConfigurationPage <ExplorerConfigurationComponent>("PathExplorer"));
     }
 }
コード例 #2
0
ファイル: ExplorerTool.cs プロジェクト: bangush/server-1
        public override void Initialize()
        {
            if (_mainWindowTool == null)
            {
                _mainWindowTool = this;
            }

            base.Initialize();
        }
コード例 #3
0
ファイル: ExplorerTool.cs プロジェクト: bangush/server-1
 public void Startup(IDesktopWindow mainDesktopWindow)
 {
     ExplorerTool.ShowExplorer(mainDesktopWindow);
 }