public static void Load() { Settings = Settings.Load(); if (Directory.Exists(Settings.MyFilesPath)) { Folder = new BaseUserFolder(Settings.MyFilesPath); } }
public static void ChangeBasePath(string path) { if (Directory.Exists(path)) { Settings.MyFilesPath = path; Folder = new BaseUserFolder(path); Program.ShowMessage("Action", "Path set to " + path); } else { Program.ShowMessage("Error", "Path does not exist!"); } }