private Dictionary <string, string> SplitChapters() { if (cbSplit.Checked) { Utils.NewFilename(Variables.BackupDone); Preview.CloseOpenedForms(); SplitChapters doc = new SplitChapters(GetFilenames(Model.Nodes, false)); doc.UpdateFiles(); Variables.ZipFileList = new List <string>(); Variables.FilesPathFromOPF = new List <string>(); return(doc.list); } else { return(null); } }
private Dictionary<string, string> SplitChapters() { if (cbSplit.Checked) { Utils.NewFilename(Variables.BackupDone); Preview.CloseOpenedForms(); SplitChapters doc = new SplitChapters(GetFilenames(Model.Nodes, false)); doc.UpdateFiles(); Variables.ZipFileList = new List<string>(); Variables.FilesPathFromOPF = new List<string>(); return doc.list; } else { return null; } }