public void MakePdf(int FileID) { //PdfMaker.FileID = ID; //PdfMaker.MakePdf(); MergerProcess merger = new MergerProcess(FileID); merger.ShowDialog(); if (merger.DialogResult == DialogResult.OK) { merger.Close(); } }
public void MakePdf(int ContentID, int fromFile, int toFile) { //PdfMaker.FileID = ID; //PdfMaker.MakePdf(); MergerProcess merger = new MergerProcess(ContentID, fromFile, toFile); merger.ShowDialog(); if (merger.DialogResult == DialogResult.OK) { merger.Close(); } }