private static void _set() { settings = new Dictionary <string, Setting>(10); RoamingPath = DirectoryHelper.ApplicationData + @"\PlusFTP"; FileRoamingPath = RoamingPath + fileName; FileAppPath = DirectoryHelper.CurrentDirectory + fileName; FilePath = FileRoamingPath; if (FileHelper.Exists(FileAppPath)) { SameAppPath = true; FilePath = FileAppPath; loadConf(FileAppPath); } else if (FileHelper.Exists(FileRoamingPath)) { loadConf(FileRoamingPath); } else { DirectoryHelper.Create(RoamingPath); } }
protected bool _createLocalFolder(string dirName) { return(!IsCanceled && DirectoryHelper.Create(dirName)); }