/// Обработчик события выбора элемента в Tree View

        public void Ef_treeView_AfterSelect(object sender, TreeViewEventArgs e)
        {
            string newPath = e.Node.FullPath;

            labelWay.Text    = "Путь: ";
            textBoxPath.Text = newPath;
            if (e.Node.GetNodeCount(true) == 0)
            {
                ClassForFileManager.GetSubDir(e.Node, e.Node.FullPath);
            }

            ClassForFileManager.GetDirectories(e.Node.FullPath, listView);

            AmountOfElements.Text = $"Колличество эллементов: {listView.Items.Count}";
        }
        private void listView_MouseDoubleClick(object sender, EventArgs e)
        {
            string _path = treeView.SelectedNode.FullPath + "\\" + listView.FocusedItem.Text;

            textBoxPath.Text = _path;
            //Проверка существования файла
            if (File.Exists(_path))
            {
                //Комманда для открытия файла приложением по умолчанию
                Process.Start(_path);
            }
            else
            {
                ClassForFileManager.SearchNode(treeView, _path);
                ClassForFileManager.GetDirectories(_path, listView);
            }
        }