Ejemplo n.º 1
0
 private static void AddCommandLineToTab(ITab tab)
 {
   IFolderView FolderView = tab as IFolderView;
   if (FolderView != null)
   {
     CommandLinePanel CmdLinePanel = new CommandLinePanel();
     CmdLinePanel.MaxCommandLength = _MaxCommandLength;
     CmdLinePanel.HistoryDepth = _HistoryDepth;
     tab.DockControl(DockStyle.Bottom, CmdLinePanel);
     FolderView.CurrentFolderChanged += (sender2, e2) => CmdLinePanel.CurrentFolder = FolderView.CurrentFolder;
   }
 }