Esempio n. 1
0
 /// <summary>
 /// A helper function that asks user for a SaveAs name and returns their new choice.
 /// </summary>
 /// <param name="fileSpec">The file specification to filter the files.</param>
 /// <param name="oldFilename">The current file name.</param>
 /// <returns>Returns the new file name or null if action cancelled by user.</returns>
 public string AskUserForSaveFileName(string fileSpec, string oldFilename)
 {
     return(view.AskUserForSaveFileName(fileSpec, oldFilename));
 }