private void LoadCache() { if (!FileUtility.Exists(LastSessionPath) || (FolderTree = FolderManagerSaveManager.LoadFolderTree(LastSessionPath, false)) == null) { NewFolderTree(); return; } FolderManager.RepaintClients(); }
public void LoadFolderTree(string path) { if (!FileUtility.Exists(path) || (FolderTree = FolderManagerSaveManager.LoadFolderTree(path, true)) == null) { NewFolderTree(); return; } OpenedCanvasPath = path; SaveCache(); FolderManager.RepaintClients(); }