}            //Variable to action with explorer



        public MainWindowViewModel(MainWindow window, ExplorerViewModel exp)       //Add object main window
        {
            mainWindow = window;
            Explorer   = exp;     //
            //SearchDriver search = new SearchDriver();

            //ObservableCollection<DirectoryInfo> collection = new ObservableCollection<DirectoryInfo>();

            //foreach (DirectoryInfo d in search.SearchParrentDirectory())
            //{
            //    collection.Add(d);
            //}
            //Drive = collection;
        }
Exemplo n.º 2
0
        }                                                          //Variable to action with explorer



        public MainWindowViewModel(MainWindow window, ExplorerViewModel exp)       //Add object main window
        {
            MainWindow          = window;
            Explorer            = exp; //
            MainWindow.Explorer = exp;
        }