Beispiel #1
0
 /// <summary>
 /// Creates the IViewExplorer objects
 /// and adds them to the _explorers collection
 /// </summary>
 private void CreateExplorers()
 {
     _explorers      = new ArrayList();
     _activeExplorer = new XPBarViewExplorer(this, _parent_form.ExplorerSplitter);
     _explorers.Add(new FolderViewExplorer(this, _parent_form.ExplorerSplitter));
     _explorers.Add(_activeExplorer);
     _activeExplorer.Show();
 }
Beispiel #2
0
        public void LoadExplorer(IViewExplorer viewExplorer)
        {
            if (_activeExplorer != null)
            {
                _activeExplorer.Hide();
            }

            _activeExplorer = viewExplorer;
            viewExplorer.Show();
        }