public AppSettingsService(SecureMemoAppSettings defaultAppSettings, IniConfigFileManager iniConfigFileManager, string iniConfigFilePath) { _defaultAppSettings = defaultAppSettings; _iniConfigFileManager = iniConfigFileManager; _iniConfigFilePath = iniConfigFilePath; Settings = ConfigHelper.GetDefaultSettings(); CreateAppDataDirectoryIfDirNotFound(ConfigSpecificSettings.GetSettingsFolderPath(false)); }
public FormFileManager() { InitializeComponent(); _fileStorageService = FileStorageService.Service; _storageFileSystem = _fileStorageService.FileSystem; _fileStorageDBPath = ConfigSpecificSettings.GetSettingsFolderPath(false); treeViewFolders.DrawMode = TreeViewDrawMode.OwnerDrawAll; treeViewFolders.DrawNode += treeViewFolders_DrawNode; }