/// <summary>
 /// Use of the SaveFileDialog
 /// </summary>
 /// <param name="dialogData">The parameters used in the SaveFileDialog</param>
 /// <returns>Reference to the SaveFileDialog</returns>
 private static Microsoft.Win32.SaveFileDialog SaveDialog(RwSaveFileDialogCreationData dialogData)
 {
     Microsoft.Win32.SaveFileDialog saveDialog = new Microsoft.Win32.SaveFileDialog
     {
         Title  = dialogData.Title,
         Filter = dialogData.Filter
     };
     return(saveDialog);
 }
        /// <summary>
        /// Use of the SaveFileDialog to select a single file
        /// </summary>
        /// <param name="dialogData">The parameters used in the SaveFileDialog</param>
        /// <returns>The selected single file</returns>
        public static string SaveFileDialog(RwSaveFileDialogCreationData dialogData)
        {
            string file = string.Empty;

            Microsoft.Win32.SaveFileDialog saveFileDialog = SaveDialog(dialogData);
            if (saveFileDialog.ShowDialog() == true)
            {
                file = saveFileDialog.FileName;
            }

            return(file);
        }