/// <summary> /// Verifying file path and adding - if necessary - application path at the front /// </summary> /// <param name="pFilePath">File path</param> /// <returns>File path verified</returns> public static string VerifyFilePath(string pFilePath) { if (Path.GetDirectoryName(pFilePath).Length == 0) { pFilePath = ApplicationToolkit.ApplicationFilePath(pFilePath); } return(pFilePath); }
/// <summary> /// Loading defaults (icons, file system) /// </summary> public void LoadDefaults() { this.LoadIcons(ApplicationToolkit.ApplicationFilePath(TheApplication.DefaultIconsPath), false); this.LoadFileSystem(ApplicationToolkit.ApplicationFilePath(TheApplication.DefaultFileSystemPath), false); }