private void AddRecentFile(string filePath, eOutputFileTypes eFileType)
        {
            var udtOutputFileInfo = default(udtOutputFileInfoType);

            udtOutputFileInfo.FileType = eFileType;
            udtOutputFileInfo.FileName = Path.GetFileName(filePath);
            udtOutputFileInfo.FilePath = filePath;

            mRecentFiles.Add(udtOutputFileInfo);
        }
 /// <summary>
 /// Returns the file name of the recently saved file of the given type
 /// </summary>
 /// <param name="eFileType">File type to find</param>
 /// <returns>File name if found; empty string if this file type was not saved</returns>
 /// <remarks>The list of recent files gets cleared each time you call SaveTICAndBPIPlotFiles() or Reset()</remarks>
 public string GetRecentFileInfo(eOutputFileTypes eFileType)
 {
     for (var index = 0; index <= mRecentFiles.Count - 1; index++)
     {
         if (mRecentFiles[index].FileType == eFileType)
         {
             return(mRecentFiles[index].FileName);
         }
     }
     return(string.Empty);
 }
        /// <summary>
        /// Returns the file name and path of the recently saved file of the given type
        /// </summary>
        /// <param name="eFileType">File type to find</param>
        /// <param name="fileName">File name (output)</param>
        /// <param name="filePath">File Path (output)</param>
        /// <returns>True if a match was found; otherwise returns false</returns>
        /// <remarks>The list of recent files gets cleared each time you call SaveTICAndBPIPlotFiles() or Reset()</remarks>
        public bool GetRecentFileInfo(eOutputFileTypes eFileType, out string fileName, out string filePath)
        {
            for (var index = 0; index <= mRecentFiles.Count - 1; index++)
            {
                if (mRecentFiles[index].FileType == eFileType)
                {
                    fileName = mRecentFiles[index].FileName;
                    filePath = mRecentFiles[index].FilePath;
                    return(true);
                }
            }

            fileName = string.Empty;
            filePath = string.Empty;

            return(false);
        }