public bool FileExistsAndOverwriteNotChecked() { if (!FileInfo.CheckIfFileExistsInOutput() || WindowInputs.OverwriteCheckBox == true) { return(true); } Logger.Log("File already exists - Overwrite not checked - Skipping file"); WindowInputs.IncrementProgressBar(); return(false); }
public bool FileExistsAndCopyEnabledAndDirectoryDefault() { if (!FileInfo.CheckIfFileExistsInOutput() || WindowInputs.OverwriteCheckBox != true || WindowInputs.CopyCheckBox != true || FileInfo.OutputDirectory != FileInfo.Dire) { return(true); } Logger.Log("File already exists - Can't overwrite a file already in use - Skipping file"); WindowInputs.IncrementProgressBar(); return(false); }