public void RefreshFileList()
        {
            Pause();
            var expanded = fileList_TreeView.Nodes.GetExpansionState();

            fileList_TreeView.Nodes.Clear();
            TreeViewHandler.Add(fileList_TreeView, ManagerHandler.SshHandler.FilesInDirectory(FullDirPath));

            fileList_TreeView.Nodes.SetExpansionState(expanded);
            Resume();
        }
        public void PopulateViews(TreeView running, TreeView idle, string serversPath)
        {
            running.Nodes.Clear();
            idle.Nodes.Clear();
            var screens = SshHandler.GetRunningScreens();

            TreeViewHandler.Add(running, screens);
            var strs = SshHandler.FindWithName(serversPath, "launch.sh");

            strs.RemoveAll(x => screens.Contains(x));
            TreeViewHandler.Add(idle, strs);
        }